application.yml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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_hour_manager?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&useSSL=false
  18. username: root
  19. password: HuoshiDB@2022
  20. hikari:
  21. maximum-pool-size: 60
  22. minimum-idle: 10
  23. max-lifetime: 180000
  24. # 数据库连接超时时间,默认30秒,即30000
  25. connection-timeout: 60000
  26. connection-test-query: SELECT 1
  27. #######redis配置######
  28. # redis
  29. redis:
  30. host: 127.0.0.1
  31. port: 6379
  32. timeout: 3
  33. # password:
  34. pool:
  35. minIdle: 1
  36. maxIdle: 10
  37. maxWait: 3
  38. maxActive: 8
  39. ####全局配置时间返回格式#####
  40. jackson:
  41. #参数意义:
  42. #JsonInclude.Include.ALWAYS 默认
  43. #JsonInclude.Include.NON_DEFAULT 属性为默认值不序列化
  44. #JsonInclude.Include.NON_EMPTY 属性为 空(””) 或者为 NULL 都不序列化
  45. #JsonInclude.Include.NON_NULL 属性为NULL 不序列化
  46. default-property-inclusion: ALWAYS
  47. time-zone: GMT+8
  48. date-format: yyyy-MM-dd HH:mm:ss
  49. messages:
  50. basename: i18n.messages #配置国际化资源文件路径
  51. encoding: UTF-8
  52. ##########日志配置
  53. logging:
  54. level:
  55. root: info
  56. org.mybatis: debug
  57. java.sql: debug
  58. org.springframework.web: trace
  59. #打印sql语句
  60. com.management.platform.mapper: debug
  61. path: C:/
  62. ##########
  63. mybatis-plus:
  64. # mapper-locations: classpath:mapper/*/*.xml
  65. # #实体扫描,多个package用逗号或者分号分隔
  66. # typeAliasesPackage: com.hssx.cloudmodel
  67. global-config:
  68. #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
  69. id-type: 0
  70. #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
  71. field-strategy: 2
  72. db-column-underline: true
  73. refresh-mapper:
  74. #################插入和更新非null判断
  75. db-config:
  76. insert-strategy: not_null
  77. update-strategy: not_null
  78. configuration:
  79. map-underscore-to-camel-case: true
  80. cache-enabled: false
  81. ######mybstis配置#######
  82. mybatis:
  83. type-aliases-package: com.management.platform.entity
  84. mapper-locations: mappers/*Mapper.xml
  85. #####配置图片上传路径####
  86. upload:
  87. path: C:/upload/
  88. picrecongnize:
  89. browser: C:/picrecongnize/browser/
  90. develop: C:/picrecongnize/develop/
  91. im: C:/picrecongnize/im/
  92. design: C:/picrecongnize/design/
  93. # 智能工时管家公众号参数
  94. wx:
  95. template_report_fill: lhwkaW9BKwCvMtCuoAxLw4lZoGgMaucL0Ap0Vz-5KOY
  96. app_id: wx749c84daac654e1e
  97. app_secret: aacbd046ec1c790836f4f684c96fe585
  98. template_report_pass: dbMuR2v7lxXLwRaorIWQ4T6ilvn0vzqmDDkD_3ZsaXc
  99. template_project_deadline: kY2Qzec64uOANNXA0yn-PV09ZnNjCeGXwWjTaVmQiLU
  100. template_report_reject: TICiRkvCpF4NCbkPOjefXTpz7jXgpt0SZGkNjCMIt3M
  101. template_report_week: lhwkaW9BKwCvMtCuoAxLw4lZoGgMaucL0Ap0Vz-5KOY
  102. #钉钉参数配置
  103. dingding:
  104. appId: 71020
  105. ##actuator健康检查配置
  106. management:
  107. security:
  108. enabled:false:
  109. server:
  110. port: 10012
  111. # endpoints:
  112. # web:
  113. # exposure:
  114. # include: "*"
  115. health:
  116. redis:
  117. enabled: false
  118. referer:
  119. refererDomain:
  120. - localhost
  121. - ttkuaiban.com
  122. - www.ttkuaiban.com
  123. - mobworktime.ttkuaiban.com
  124. - worktime.ttkuaiban.com
  125. - app71020.eapps.dingtalkcloud.com
  126. - mldmobworktime.ttkuaiban.com
  127. - mldworktime.ttkuaiban.com
  128. - gs.farben.com.cn
  129. - 47.101.180.183
  130. excludeUrls: /wxcorp/*,/wxcorp/*/*,/dingding/*,/error,/testClient,/corpWXAuth,/wx-corp-info/*,/clean/*,/innerRoles/*,/report/getReportListByToken,/report/getProcessErrorData
  131. #企业微信相关参数
  132. suitId: ww4e237fd6abb635af
  133. suitSecret: 1ApL6LIB4Z0v7wBrKTUNmJrerRWV3gEQWBlYOm8Kijw
  134. #平台作为服务商的参数
  135. corpId: wwf11426cf618e1703
  136. token: Mhi7ehNX61UN4MB7PHnC
  137. encodingAesKey: PHVMkME1XMrImmGJZ4OZJxSysI7hFEhtDDUQrlHAfIS
  138. providerSecret: wlwGIUXskWKsNtCfKUsAfJ6ueba55rZnqZvcC-rUM6nQ-LnRDyYgISQ2BO-UlL_A
  139. configEnv:
  140. isDev: true
  141. # 是否是私有化部署,企业内部应用
  142. isPrivateDeploy: false