|
@@ -428,9 +428,13 @@ public class SysUserServiceImpl extends BaseServiceImpl<Long, SysUser> implement
|
|
|
// todo: 暂时不上
|
|
|
try {
|
|
|
HttpResponseResult<List<String>> check = adminFeignService.accountLogoffCheck(phone);
|
|
|
+ if (!check.getStatus()) {
|
|
|
+ throw new BizException("数据检查失败");
|
|
|
+ }
|
|
|
List<String> errMsg = check.getData();
|
|
|
if (!CollectionUtils.isEmpty(errMsg)) {
|
|
|
logOff.setMessage(errMsg);
|
|
|
+ return HttpResponseResult.succeed(logOff);
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
throw new BizException("数据检查失败");
|