commit
d8b264a13d
@ -51,7 +51,7 @@ logging:
|
|||||||
level:
|
level:
|
||||||
com.ruoyi: @logging.level@
|
com.ruoyi: @logging.level@
|
||||||
org.springframework: warn
|
org.springframework: warn
|
||||||
config: classpath:logback.xml
|
config: classpath:logback-plus.xml
|
||||||
|
|
||||||
# 用户配置
|
# 用户配置
|
||||||
user:
|
user:
|
||||||
|
@ -6,6 +6,9 @@ spring:
|
|||||||
profiles:
|
profiles:
|
||||||
active: @profiles.active@
|
active: @profiles.active@
|
||||||
|
|
||||||
|
logging:
|
||||||
|
config: classpath:logback-plus.xml
|
||||||
|
|
||||||
--- # 监控中心服务端配置
|
--- # 监控中心服务端配置
|
||||||
spring:
|
spring:
|
||||||
security:
|
security:
|
||||||
|
@ -16,6 +16,9 @@ spring:
|
|||||||
resources:
|
resources:
|
||||||
static-locations: classpath:/static/
|
static-locations: classpath:/static/
|
||||||
|
|
||||||
|
logging:
|
||||||
|
config: classpath:logback-plus.xml
|
||||||
|
|
||||||
--- # mybatis 配置
|
--- # mybatis 配置
|
||||||
mybatis:
|
mybatis:
|
||||||
mapper-locations: classpath:/mybatis-mapper/*Mapper.xml
|
mapper-locations: classpath:/mybatis-mapper/*Mapper.xml
|
||||||
|
@ -73,7 +73,7 @@ public class CreateAndUpdateMetaObjectHandler implements MetaObjectHandler {
|
|||||||
log.warn("自动注入警告 => 用户未登录");
|
log.warn("自动注入警告 => 用户未登录");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return loginUser.getUsername();
|
return ObjectUtil.isNotNull(loginUser) ? loginUser.getUsername() : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user