application.yml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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:17089/man_crm?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&useSSL=false
  18. # username: root
  19. # password: P011430@Huoshi*
  20. url: jdbc:mysql://127.0.0.1:3306/man_crm?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&useSSL=false
  21. username: root
  22. password: p011430seya
  23. hikari:
  24. maximum-pool-size: 60
  25. minimum-idle: 10
  26. max-lifetime: 180000
  27. # 数据库连接超时时间,默认30秒,即30000
  28. connection-timeout: 60000
  29. connection-test-query: SELECT 1
  30. #######redis配置######
  31. # redis
  32. redis:
  33. host: 127.0.0.1
  34. port: 6379
  35. timeout: 3
  36. # password:
  37. pool:
  38. minIdle: 1
  39. maxIdle: 10
  40. maxWait: 3
  41. maxActive: 8
  42. ####全局配置时间返回格式#####
  43. jackson:
  44. #参数意义:
  45. #JsonInclude.Include.ALWAYS 默认
  46. #JsonInclude.Include.NON_DEFAULT 属性为默认值不序列化
  47. #JsonInclude.Include.NON_EMPTY 属性为 空(””) 或者为 NULL 都不序列化
  48. #JsonInclude.Include.NON_NULL 属性为NULL 不序列化
  49. default-property-inclusion: ALWAYS
  50. time-zone: GMT+8
  51. date-format: yyyy-MM-dd HH:mm:ss
  52. messages:
  53. basename: i18n.messages #配置国际化资源文件路径
  54. encoding: UTF-8
  55. ##AD认证
  56. ldap:
  57. ##AD服务器IP,默认端口389
  58. urls: ldap://192.168.2.44:389
  59. ##登录账号
  60. username: zhangsan@yurk.cn
  61. ##密码
  62. password: Zs123456
  63. #distinguishedName的部分节点
  64. base:
  65. dcFirst: yurk
  66. dcSecond: cn
  67. ##########日志配置
  68. logging:
  69. level:
  70. root: info
  71. org.mybatis: debug
  72. java.sql: debug
  73. org.springframework.web: trace
  74. #打印sql语句
  75. com.management.platform.mapper: debug
  76. path: C:/
  77. ##########
  78. mybatis-plus:
  79. # mapper-locations: classpath:mapper/*/*.xml
  80. # #实体扫描,多个package用逗号或者分号分隔
  81. # typeAliasesPackage: com.hssx.cloudmodel
  82. global-config:
  83. #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
  84. id-type: 0
  85. #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
  86. field-strategy: 2
  87. db-column-underline: true
  88. refresh-mapper:
  89. #################插入和更新非null判断
  90. db-config:
  91. insert-strategy: not_null
  92. update-strategy: not_null
  93. configuration:
  94. map-underscore-to-camel-case: true
  95. cache-enabled: false
  96. ######mybstis配置#######
  97. mybatis:
  98. type-aliases-package: com.management.platform.entity
  99. mapper-locations: mappers/*Mapper.xml
  100. #####配置图片上传路径####
  101. upload:
  102. path: C:/upload/
  103. file: C:/file/
  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. - crm.ttkuaiban.com
  140. - mobcrm.ttkuaiban.com
  141. - 47.100.37.243
  142. - 47.101.180.183
  143. 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
  144. #企业微信相关参数
  145. suitId: ww4e237fd6abb635af
  146. suitSecret: 1ApL6LIB4Z0v7wBrKTUNmJrerRWV3gEQWBlYOm8Kijw
  147. #平台作为服务商的参数
  148. corpId: wwf11426cf618e1703
  149. token: Mhi7ehNX61UN4MB7PHnC
  150. encodingAesKey: PHVMkME1XMrImmGJZ4OZJxSysI7hFEhtDDUQrlHAfIS
  151. providerSecret: wlwGIUXskWKsNtCfKUsAfJ6ueba55rZnqZvcC-rUM6nQ-LnRDyYgISQ2BO-UlL_A
  152. configEnv:
  153. isDev: true
  154. # 是否是私有化部署,企业内部应用
  155. isPrivateDeploy: false
  156. privateDeployURL:
  157. pcUrl: http://dev.huoshishanxin.com/#/
  158. mobUrl: http://dev.huoshishanxin.com/#/
  159. # SFTP上传配置
  160. sftp:
  161. isEnabled: false
  162. server: 101.132.166.205
  163. port: 22022
  164. remoteDir: /bkup/timesheet
  165. user: root
  166. password: Huoshi@2022