parent
a5350348d6
commit
0796e4ac80
|
@ -66,7 +66,7 @@ public class AuthController {
|
||||||
reqInfo.getPassword());
|
reqInfo.getPassword());
|
||||||
|
|
||||||
if (ret.getFirstParam() != ErrorCode.ERR_OK) {
|
if (ret.getFirstParam() != ErrorCode.ERR_OK) {
|
||||||
log.error("User login failed, err{}", ret.getFirstParam().getMsg());
|
log.error("User login failed, error:{}", ret.getFirstParam().getMsg());
|
||||||
return ProtocolRespDTO.result(ret.getFirstParam());
|
return ProtocolRespDTO.result(ret.getFirstParam());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ public class AuthController {
|
||||||
ErrorCode err = mr.verifyRequest(headers);
|
ErrorCode err = mr.verifyRequest(headers);
|
||||||
|
|
||||||
if (err != ErrorCode.ERR_OK) {
|
if (err != ErrorCode.ERR_OK) {
|
||||||
log.error("Request header error, err{}", err.getMsg());
|
log.error("Request header error, error:{}", err.getMsg());
|
||||||
return ProtocolRespDTO.result(err);
|
return ProtocolRespDTO.result(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ public class AuthController {
|
||||||
err = userAccountService.logoutService(reqInfo.getUserName(), mr.getAuthToken());
|
err = userAccountService.logoutService(reqInfo.getUserName(), mr.getAuthToken());
|
||||||
|
|
||||||
if (err != ErrorCode.ERR_OK) {
|
if (err != ErrorCode.ERR_OK) {
|
||||||
log.error("User logout failed, err{}", err.getMsg());
|
log.error("User logout failed, error:{}", err.getMsg());
|
||||||
return ProtocolRespDTO.result(err);
|
return ProtocolRespDTO.result(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue