application.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. server:
  2. port: 10010
  3. tomcat:
  4. uri-encoding: utf-8
  5. max-http-form-post-size: -1
  6. connection-timeout: 18000000s
  7. spring:
  8. servlet:
  9. multipart:
  10. # 配置上传文件的大小设置
  11. # Single file max size 即单个文件大小
  12. max-file-size: 100MB
  13. max-request-size: 100MB
  14. location: C:/upload/
  15. datasource:
  16. driver-class-name: com.mysql.cj.jdbc.Driver
  17. url: jdbc:mysql://47.101.180.183:3306/man_dev?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
  18. username: root
  19. password: HuoshiDB@2022
  20. hikari:
  21. maximum-pool-size: 10
  22. minimum-idle: 3
  23. max-lifetime: 30000
  24. connection-test-query: SELECT 1
  25. #######redis配置######
  26. # redis
  27. redis:
  28. host: 127.0.0.1
  29. port: 6379
  30. timeout: 3
  31. # password:
  32. pool:
  33. minIdle: 1
  34. maxIdle: 10
  35. maxWait: 3
  36. maxActive: 8
  37. ####全局配置时间返回格式#####
  38. jackson:
  39. #参数意义:
  40. #JsonInclude.Include.ALWAYS 默认
  41. #JsonInclude.Include.NON_DEFAULT 属性为默认值不序列化
  42. #JsonInclude.Include.NON_EMPTY 属性为 空(””) 或者为 NULL 都不序列化
  43. #JsonInclude.Include.NON_NULL 属性为NULL 不序列化
  44. default-property-inclusion: ALWAYS
  45. time-zone: GMT+8
  46. date-format: yyyy-MM-dd HH:mm:ss
  47. ##########日志配置
  48. logging:
  49. level:
  50. root: info
  51. org.mybatis: debug
  52. java.sql: debug
  53. org.springframework.web: trace
  54. #打印sql语句
  55. com.management.platform.mapper: debug
  56. path: C:/
  57. ##########
  58. mybatis-plus:
  59. # mapper-locations: classpath:mapper/*/*.xml
  60. # #实体扫描,多个package用逗号或者分号分隔
  61. # typeAliasesPackage: com.hssx.cloudmodel
  62. global-config:
  63. #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
  64. id-type: 0
  65. #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
  66. field-strategy: 2
  67. db-column-underline: true
  68. refresh-mapper:
  69. #################插入和更新非null判断
  70. db-config:
  71. insert-strategy: not_null
  72. update-strategy: not_null
  73. configuration:
  74. map-underscore-to-camel-case: true
  75. cache-enabled: false
  76. ######mybstis配置#######
  77. mybatis:
  78. type-aliases-package: com.management.platform.entity
  79. mapper-locations: mappers/*Mapper.xml
  80. #####配置图片上传路径####
  81. upload:
  82. path: C:/upload/
  83. picrecongnize:
  84. browser: C:/picrecongnize/browser/
  85. develop: C:/picrecongnize/develop/
  86. im: C:/picrecongnize/im/
  87. design: C:/picrecongnize/design/
  88. # 智能工时管家公众号参数
  89. wx:
  90. template_report_fill: lhwkaW9BKwCvMtCuoAxLw4lZoGgMaucL0Ap0Vz-5KOY
  91. app_id: wx749c84daac654e1e
  92. app_secret: aacbd046ec1c790836f4f684c96fe585
  93. template_report_pass: dbMuR2v7lxXLwRaorIWQ4T6ilvn0vzqmDDkD_3ZsaXc
  94. template_project_deadline: kY2Qzec64uOANNXA0yn-PV09ZnNjCeGXwWjTaVmQiLU
  95. template_report_reject: TICiRkvCpF4NCbkPOjefXTpz7jXgpt0SZGkNjCMIt3M
  96. template_report_week: lhwkaW9BKwCvMtCuoAxLw4lZoGgMaucL0Ap0Vz-5KOY
  97. ##actuator健康检查配置
  98. management:
  99. security:
  100. enabled:false:
  101. server:
  102. port: 10012
  103. # endpoints:
  104. # web:
  105. # exposure:
  106. # include: "*"
  107. health:
  108. redis:
  109. enabled: false
  110. referer:
  111. refererDomain:
  112. - localhost
  113. - ttkuaiban.com
  114. - www.ttkuaiban.com
  115. - mobworktime.ttkuaiban.com
  116. - worktime.ttkuaiban.com
  117. - app71020.eapps.dingtalkcloud.com
  118. excludeUrls: /wxcorp/*,/wxcorp/*/*,/dingding/*,/error,/testClient,/corpWXAuth,/wx-corp-info/*,/clean/*,/innerRoles/*
  119. #企业微信相关参数
  120. suitId: ww4e237fd6abb635af
  121. suitSecret: 1ApL6LIB4Z0v7wBrKTUNmJrerRWV3gEQWBlYOm8Kijw
  122. #平台作为服务商的参数
  123. corpId: wwf11426cf618e1703
  124. token: Mhi7ehNX61UN4MB7PHnC
  125. encodingAesKey: PHVMkME1XMrImmGJZ4OZJxSysI7hFEhtDDUQrlHAfIS
  126. configEnv:
  127. isDev: true