application.yml 5.2 KB

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