Browse Source

日志降级

master
yinzuomei 4 years ago
parent
commit
cd998e22e0
  1. 2
      epmet-auth/src/main/java/com/epmet/service/impl/GovWebServiceImpl.java
  2. 2
      epmet-auth/src/main/java/com/epmet/service/impl/SsoServiceImpl.java

2
epmet-auth/src/main/java/com/epmet/service/impl/GovWebServiceImpl.java

@ -73,7 +73,7 @@ public class GovWebServiceImpl implements GovWebService {
form.setMobile(formDTO.getPhone()); form.setMobile(formDTO.getPhone());
Result<GovWebOperLoginResultDTO> result = epmetUserFeignClient.getStaffIdAndPwd(form); Result<GovWebOperLoginResultDTO> result = epmetUserFeignClient.getStaffIdAndPwd(form);
if (!result.success() || null == result.getData() || null == result.getData().getUserId()) { if (!result.success() || null == result.getData() || null == result.getData().getUserId()) {
logger.error("根据手机号查询PC工作端登陆人员信息失败,返回10003账号不存在"); logger.warn("根据手机号查询PC工作端登陆人员信息失败,返回10003账号不存在");
throw new RenException(EpmetErrorCode.ERR10003.getCode()); throw new RenException(EpmetErrorCode.ERR10003.getCode());
} }
GovWebOperLoginResultDTO resultDTO = result.getData(); GovWebOperLoginResultDTO resultDTO = result.getData();

2
epmet-auth/src/main/java/com/epmet/service/impl/SsoServiceImpl.java

@ -167,7 +167,7 @@ public class SsoServiceImpl implements SsoService {
//test end //test end
if (!result.success() || null == result.getData() || null == result.getData().getUserId()) { if (!result.success() || null == result.getData() || null == result.getData().getUserId()) {
logger.error("根据手机号查询PC工作端登陆人员信息失败,返回10003账号不存在,param:{}", JSON.toJSONString(form)); logger.warn("根据手机号查询PC工作端登陆人员信息失败,返回10003账号不存在,param:{}", JSON.toJSONString(form));
throw new RenException(EpmetErrorCode.ERR10003.getCode()); throw new RenException(EpmetErrorCode.ERR10003.getCode());
} }

Loading…
Cancel
Save