|
@@ -432,13 +432,13 @@ public class SysUserServiceImpl extends BaseServiceImpl<Long, SysUser> implement
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public HttpResponseResult<List<String>> logoffByPhone(String phone) {
|
|
|
+ public HttpResponseResult<Void> logoffByPhone(String phone) {
|
|
|
|
|
|
try {
|
|
|
HttpResponseResult<List<String>> check = adminFeignService.accountLogoffCheck(phone);
|
|
|
List<String> errMsg = check.getData();
|
|
|
if (!CollectionUtils.isEmpty(errMsg)) {
|
|
|
- return HttpResponseResult.failed(500, errMsg, "注销失败");
|
|
|
+ return HttpResponseResult.failed(5101, null, String.join(",", errMsg));
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
throw new BizException("数据检查失败");
|