MrShi
2025-08-19 ff087240b3dee29ce4e14ad0836e76b9fdf312cf
server/src/main/resources/application.yml
@@ -2,14 +2,10 @@
project:
  name: 联合利华事件上报系统
  version: 1.0.0
  # 环境,生产环境production,开发环境development
  env: development
  # 模式,testing测试模式
  mode: testing
spring:
  profiles:
    active: test
    active: pro
  # JSON返回配置
  jackson:
    # 默认时区
@@ -33,6 +29,8 @@
  configuration:
    map-underscore-to-camel-case: true
    log-impl: com.doumee.config.mybatis.DmStdOutImpl
#    log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
#    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
# 缓存内容设置
@@ -60,7 +58,7 @@
# 日志配置
logback:
  level: INFO
  level: ERROR
  appender: ${project.env}
# dao层的日志设置为debug,方便查看sql
logging:
@@ -70,7 +68,7 @@
    com.doumee.dao.system.SystemJobListMapper: ERROR
    com.doumee.dao.system.SystemJobSnippetMapper: ERROR
    com.doumee.dao.system.SystemJobLogMapper: ERROR
    com.doumee.dao.business: DEBUG
    com.doumee.dao.business: ERROR
auth:
  jwt:
    enabled: true   #是否开启JWT登录认证功能