1.控制类添加服务层
This commit is contained in:
@@ -112,8 +112,7 @@ public class UserController {
|
||||
//否则直接返回用户
|
||||
return ResponseData.success(result);
|
||||
}
|
||||
|
||||
return ResponseData.error(ErrorCode.SYSTEM_ERROR.getCode(),"未知错误");
|
||||
throw new BusinessException(ErrorCode.SYSTEM_ERROR);
|
||||
}
|
||||
|
||||
// 手机号登录 / 注册
|
||||
|
||||
Reference in New Issue
Block a user