From 9bdf8d7ebb6e040acf8e2e92da816cf2d5f447bb Mon Sep 17 00:00:00 2001 From: gongzhenkun <1658878546@qq.com> Date: Thu, 27 Oct 2022 13:56:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E2=80=9Csys-info.log?= =?UTF-8?q?=E4=B8=AD=E5=8F=AA=E6=9C=89DEBUG=E7=BA=A7=E5=88=AB=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E2=80=9D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/logback.xml | 1 - .../java/com/ruoyi/framework/web/service/SysLoginService.java | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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; }