application.yml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. server:
  2. port: 10011
  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://1.94.62.58:17089/man_crm?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. 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. # file: C:/file/
  89. picrecongnize:
  90. browser: C:/picrecongnize/browser/
  91. develop: C:/picrecongnize/develop/
  92. im: C:/picrecongnize/im/
  93. design: C:/picrecongnize/design/
  94. # 智能客户管家公众号参数
  95. wx:
  96. template_report_fill: tty9TkCAAADWNCMiTzLogJoWVSMsJ6XQ
  97. app_id: wx1c1d8fc81bc073a8
  98. app_secret: 17ad07f90ee845f99f4c1605647ef755
  99. template_report_pass: dbMuR2v7lxXLwRaorIWQ4T6ilvn0vzqmDDkD_3ZsaXc
  100. template_project_deadline: kY2Qzec64uOANNXA0yn-PV09ZnNjCeGXwWjTaVmQiLU
  101. template_report_reject: TICiRkvCpF4NCbkPOjefXTpz7jXgpt0SZGkNjCMIt3M
  102. template_report_week: lhwkaW9BKwCvMtCuoAxLw4lZoGgMaucL0Ap0Vz-5KOY
  103. #钉钉参数配置
  104. dingding:
  105. appId: 71020
  106. ##actuator健康检查配置
  107. management:
  108. security:
  109. enabled:false:
  110. server:
  111. port: 10012
  112. # endpoints:
  113. # web:
  114. # exposure:
  115. # include: "*"
  116. health:
  117. redis:
  118. enabled: false
  119. ldap:
  120. enabled: false
  121. referer:
  122. refererDomain:
  123. - localhost
  124. - crm.ttkuaiban.com
  125. - mobcrm.ttkuaiban.com
  126. - 47.100.37.243
  127. - 1.94.62.58
  128. excludeUrls: /wxcorp/*,/wxcorp/*/*,/dingding/*,/feishu-info/*,/error,/testClient,/corpWXAuth,/corpWXScanningAuth,/corpInsideWXAuth,/wx-corp-info/*,/clean/*,/innerRoles/*,/wechat/*
  129. #企业微信相关参数
  130. suitId: wwdd1137a65ce0fc87
  131. suitSecret: whAD0XKOmaJW4SwrIpu6BBwKAJbqOriHfPIKrvJ02Ic
  132. loginSuitId: ww19f9868980b9bb43
  133. #平台作为服务商的参数
  134. corpId: wwf11426cf618e1703
  135. token: aXLyq2JL1nRFFLhblHL2RX23SN46z4Q5
  136. encodingAesKey: 6W8MswvI1HEgITZ7Wu9ffIWvEbMakgDnaQkGW48dQ17
  137. providerSecret: wlwGIUXskWKsNtCfKUsAfJ6ueba55rZnqZvcC-rUM6nQ-LnRDyYgISQ2BO-UlL_A
  138. configEnv:
  139. isDev: true
  140. # 是否是私有化部署,企业内部应用
  141. isPrivateDeploy: false
  142. privateDeployURL:
  143. pcUrl: http://dev.huoshishanxin.com/#/
  144. mobUrl: http://dev.huoshishanxin.com/#/
  145. # SFTP上传配置
  146. sftp:
  147. isEnabled: false
  148. server: 101.132.166.205
  149. port: 22022
  150. remoteDir: /bkup/crm
  151. user: root
  152. password: Huoshi@2022
  153. defaultcommonmodules:
  154. path: [/customer,/contacts,/tasks]
  155. supersonic:
  156. use: true
  157. ip: localhost
  158. port: 9080
  159. username: admin
  160. password: e6+jQ26AESREiBBuKM1u1A==
  161. aiask:
  162. fileaskurl: http://123.60.32.117:5000/analyze
  163. askurl: http://123.60.32.117:5000/analyzeOnlyQuestion
  164. #临时的整型参数值
  165. weixin:
  166. ticket:
  167. action_name:
  168. QR_SCENE: QR_SCENE
  169. QR_STR_SCENE: QR_STR_SCENE
  170. QR_LIMIT_SCENE: QR_LIMIT_SCENE
  171. QR_LIMIT_STR_SCENE: QR_LIMIT_STR_SCENE