旭捷内部项目管理系统
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.

99 lines
2.5 KiB

10 months ago
  1. # Tomcat
  2. server:
  3. tomcat:
  4. uri-encoding: UTF-8
  5. max-threads: 1000
  6. min-spare-threads: 30
  7. port: 8086
  8. connection-timeout: 5000ms
  9. spring:
  10. resources:
  11. cache:
  12. cachecontrol:
  13. max-age: 0
  14. chain:
  15. cache: false
  16. # 环境 dev|test|prod
  17. profiles:
  18. active: dev
  19. freemarker:
  20. suffix: .ftl
  21. cache: false
  22. #template-loader-path: '${user.dir}/templates' #外部页面设置
  23. settings:
  24. number_format: '0.##' #格式化数字, 无小数
  25. # jackson时间格式化
  26. jackson:
  27. time-zone: GMT+8
  28. date-format: yyyy-MM-dd HH:mm:ss
  29. servlet:
  30. multipart:
  31. max-file-size: 100MB
  32. max-request-size: 100MB
  33. enabled: true
  34. redis:
  35. open: false # 是否开启redis缓存 true开启 false关闭
  36. database: 0
  37. host: 192.168.1.83
  38. port: 6379
  39. password: xujieredis # 密码(默认为空)
  40. timeout: 6000ms # 连接超时时长(毫秒)
  41. jedis:
  42. pool:
  43. max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
  44. max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
  45. max-idle: 10 # 连接池中的最大空闲连接
  46. min-idle: 5 # 连接池中的最小空闲连接
  47. mvc:
  48. throw-exception-if-no-handler-found: true
  49. # resources:
  50. # add-mappings: false
  51. #mybatis
  52. mybatis-plus:
  53. mapper-locations: classpath:/mapper/**/*.xml
  54. #实体扫描,多个package用逗号或者分号分隔
  55. typeAliasesPackage: com.gaotao.modules.*.entity,com.gaotao.modules.*.data
  56. global-config:
  57. #数据库相关配置
  58. db-config:
  59. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  60. id-type: AUTO
  61. # 逻辑删除配置
  62. logic-delete-value: -1
  63. logic-not-delete-value: 0
  64. # 启动或关闭 控制台logo
  65. banner: false
  66. #原生配置
  67. configuration:
  68. map-underscore-to-camel-case: true
  69. cache-enabled: false
  70. call-setters-on-nulls: true
  71. jdbc-type-for-null: 'null'
  72. logging:
  73. level:
  74. com.gaotao.modules: debug
  75. org.springframework.jdbc.core.JdbcTemplate: DEBUG
  76. clodp:
  77. printUrl: 192.168.1.150
  78. gaotao:
  79. redis:
  80. open: false
  81. shiro:
  82. redis: false
  83. # APP模块,是通过jwt认证的,如果要使用APP模块,则需要修改【加密秘钥】
  84. jwt:
  85. # 加密秘钥
  86. secret: f4e2e52034348f86b67cde581c0f9eb5
  87. # token有效时长,7天,单位秒
  88. expire: 604800
  89. header: token
  90. task:
  91. data:
  92. site: 1
  93. query:
  94. maxNums: 1000