Commit fc969f60 authored by 王向伟's avatar 王向伟

修改异常提示语

parent cbb4062e
......@@ -284,7 +284,7 @@ public class UserServiceImpl implements IUserService {
if (!userSysResult.isSuccess() || Objects.isNull(userSysResult.getData())) {
log.error("{} 远程调用失败 userSysResult={}", logPre, userSysResult);
return JsonResult.buildErrorStateResult(userSysResult.getMsg(), userSysResult.getData());
return JsonResult.buildErrorStateResult("查询用户失败", userSysResult.getData());
}
return userSysResult.getData();
}
......@@ -501,7 +501,7 @@ public class UserServiceImpl implements IUserService {
return JsonResult.buildErrorStateResult("查询失败", null);
}
if (Objects.isNull(orderMapping.getData())) {
return JsonResult.buildSuccessResult("无数据,请用其他参数查询", null);
return JsonResult.buildErrorStateResult("无数据,请用其他参数查询", null);
}
Long qgUserId = orderMapping.getData().getQgUserId();
UserSysResult<XUserDetail> userDetailByUserId = userSdk.getService().findUserDetailByUserId(qgUserId);
......
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