REM:
1. 修改用户认证的打印日志
This commit is contained in:
chenlinghy 2020-05-18 17:12:18 +08:00
parent a5350348d6
commit 0796e4ac80
1 changed files with 3 additions and 3 deletions

View File

@ -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);
} }