修复“sys-info.log中只有DEBUG级别日志”问题

master
gongzhenkun 2 years ago
parent 2440470560
commit 9bdf8d7ebb

@ -28,7 +28,6 @@
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<!-- 过滤的级别 -->
<level>INFO</level>
<level>DEBUG</level>
<!-- 匹配时的操作:接收(记录) -->
<onMatch>ACCEPT</onMatch>
<!-- 不匹配时的操作:拒绝(不记录) -->

@ -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;
}

Loading…
Cancel
Save