diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java index 85ea6fd..16a1506 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java @@ -162,6 +162,9 @@ public class SysLoginService sysUser.setNickName(req.getName()); sysUser.setStatus("0"); userService.updateUser(sysUser); + } else { + // delFlag = 0 : 医生账号已存在 + return AjaxResult.error("当前手机号已经注册!"); } } else { // 注册