fuliqi
2024-06-05 f7a173b5203296dcfd384d175c06a34ecf7d5d4c
打印sql,配置session时长
1个文件已修改
8 ■■■■ 已修改文件
src/main/resources/application.yml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml
@@ -1,4 +1,7 @@
server:
  servlet:
    session:
      timeout: 7200
  port: 8000
  undertow:
    io-threads: 16
@@ -13,6 +16,9 @@
logging:
  config: classpath:logback-spring.xml
  file: xzs
  level:
    com.lucifer.springboot.cache.mapper: debug
#mybatis plus
mybatis-plus:
@@ -23,7 +29,7 @@
      logic-not-delete-value: 0 # 没有删除的值
  configuration:
    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler # 通用枚举处理器
  #    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 日志打印
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 日志打印
  type-enums-package: com.ycl.jxkg.domain.enums.general # 通用枚举所在包路径
  mapper-locations: classpath*:mapper/*.xml # mapper.xml位置