# 项目信息配置 project: name: 智能制造 version: 1.0.0 env: development # env: production spring: # application: # name: doumeemes profiles: active: pro # JSON返回配置 jackson: # 默认时区 time-zone: GMT+8 # 默认日期格式化 date-format: yyyy-MM-dd HH:mm:ss servlet: multipart: max-file-size: 300MB max-request-size: 300MB enabled: true # MyBatis配置 mybatis-plus: mapper-locations: classpath*:/mappers/**/*.xml configuration: map-underscore-to-camel-case: true log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 缓存内容设置 cache: session: # 会话过期时长(s) expire: 18000 captcha: # 验证码过期时长(s) expire: 300 # 跟踪日志 trace: # 开启智能跟踪模式 smart: true # 排除跟踪的URL正则 exclude-patterns: .+/list[a-zA-Z0-9\-\_]*$, .+/tree[a-zA-Z0-9\-\_]*$, .+/page[a-zA-Z0-9\-\_]*$, .+/all[a-zA-Z0-9\-\_]*$, /swagger-resources.* # 日志配置 logback: level: INFO appender: ${project.env} # dao层的日志设置为debug,方便查看sql logging: level: doumeemes.dao: debug knife4j: enable: true basic: enable: true username: admin password: 111111