You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
2.0 KiB

5 months ago
  1. # Tomcat
  2. server:
  3. servlet:
  4. session:
  5. timeout: -1
  6. tomcat:
  7. uri-encoding: UTF-8
  8. max-threads: 1000
  9. min-spare-threads: 30
  10. port: 9000
  11. connection-timeout: 5000ms
  12. spring:
  13. application:
  14. name: xujie-sys
  15. resources:
  16. cache:
  17. cachecontrol:
  18. max-age: 0
  19. chain:
  20. cache: false
  21. # 环境 dev|test|prod
  22. profiles:
  23. active: dev
  24. freemarker:
  25. suffix: .ftl
  26. cache: false
  27. #template-loader-path: '${user.dir}/templates' #外部页面设置
  28. settings:
  29. number_format: '0.##' #格式化数字, 无小数
  30. # jackson时间格式化
  31. jackson:
  32. time-zone: GMT+8
  33. date-format: yyyy-MM-dd HH:mm:ss
  34. servlet:
  35. multipart:
  36. max-file-size: 100MB
  37. max-request-size: 100MB
  38. enabled: true
  39. data:
  40. redis:
  41. database: 0
  42. password: xujieredis
  43. host: xujiesoft.vicp.net
  44. port: 6379
  45. timeout: 2000ms
  46. lettuce:
  47. pool:
  48. max-active: 8
  49. max-idle: 8
  50. min-idle: 0
  51. max-wait: -1ms
  52. shutdown-timeout: 100ms
  53. mvc:
  54. throw-exception-if-no-handler-found: true
  55. # resources:
  56. # add-mappings: false
  57. #mybatis
  58. mybatis-plus:
  59. mapper-locations: classpath:/mapper/**/*.xml
  60. #实体扫描,多个package用逗号或者分号分隔
  61. typeAliasesPackage: com.xujie.sys.modules.*.entity,com.xujie.sys.modules.*.data
  62. global-config:
  63. #数据库相关配置
  64. db-config:
  65. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  66. id-type: AUTO
  67. # 逻辑删除配置
  68. logic-delete-value: -1
  69. logic-not-delete-value: 0
  70. # 启动或关闭 控制台logo
  71. banner: false
  72. #原生配置
  73. configuration:
  74. map-underscore-to-camel-case: true
  75. cache-enabled: false
  76. call-setters-on-nulls: true
  77. jdbc-type-for-null: 'null'
  78. logging:
  79. level:
  80. root: info
  81. com.xujie.sys: debug
  82. org.springframework.jdbc.core.JdbcTemplate: DEBUG