Commit 81a26208 authored by 王向伟's avatar 王向伟

修改异常提示语

parent fc969f60
......@@ -282,10 +282,15 @@ public class UserServiceImpl implements IUserService {
return JsonResult.buildErrorStateResult("远程调用结果为空", null);
}
if (!userSysResult.isSuccess() || Objects.isNull(userSysResult.getData())) {
if (!userSysResult.isSuccess()) {
log.error("{} 远程调用失败 userSysResult={}", logPre, userSysResult);
return JsonResult.buildErrorStateResult("查询用户失败", userSysResult.getData());
}
if(Objects.isNull(userSysResult.getData())){
log.error("{} 用户不存在 userSysResult={}", logPre, userSysResult);
return JsonResult.buildErrorStateResult("用户不存在", userSysResult.getData());
}
return userSysResult.getData();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment