diff --git a/ruoyi-admin/src/main/resources/logback.xml b/ruoyi-admin/src/main/resources/logback.xml index e1a8b64..ff5cb51 100644 --- a/ruoyi-admin/src/main/resources/logback.xml +++ b/ruoyi-admin/src/main/resources/logback.xml @@ -28,7 +28,6 @@ INFO - DEBUG ACCEPT 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 9cfb385..3cd8ed9 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 @@ -121,6 +121,7 @@ public class SysLoginService TDoctor tDoctor = tDoctorMapper.selectTDoctorByPhone(username); if (Objects.isNull(tDoctor) || "2".equals(tDoctor.getDelFlag())) { // 未注册或已删除 返回flag app跳完善信息页面 + log.info("user no register."); ajax.put("flag", false); } else { SysUser sysUser = userService.selectUserByUserName(username); @@ -143,6 +144,7 @@ public class SysLoginService ajax.put("flag", true); } ajax.put(Constants.REQUEST_FROM, "app"); + log.info("login result is {}", ajax); return ajax; }