修复邮箱登录状态码错误,增加相关提示 #633

This commit is contained in:
binaryify
2019-11-07 14:05:37 +08:00
parent f254aa2b85
commit abf7bc4ec5
4 changed files with 24 additions and 3 deletions

View File

@@ -152,7 +152,9 @@ const createRequest = (method, url, data, options) => {
answer.body = JSON.parse(body)
answer.status = answer.body.code || res.statusCode
if(answer.body.code === 502){
answer.status = 200
}
}
} catch (e) {