application-dev.yml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. # 数据源配置
  2. spring:
  3. profiles:
  4. include: common,config-dev
  5. # profiles:
  6. # include: config-dev,common
  7. # redis 配置
  8. redis:
  9. # 地址
  10. host: localhost
  11. # 端口,默认为6379
  12. port: 6379
  13. # 数据库索引
  14. database: 0
  15. # 密码
  16. password:
  17. # 连接超时时间
  18. timeout: 20s
  19. lettuce:
  20. pool:
  21. # 连接池中的最小空闲连接
  22. min-idle: 0
  23. # 连接池中的最大空闲连接
  24. max-idle: 8
  25. # 连接池的最大数据库连接数
  26. max-active: 8
  27. # #连接池最大阻塞等待时间(使用负值表示没有限制)
  28. max-wait: -1ms
  29. datasource:
  30. # clickhouse:
  31. # type: com.alibaba.druid.pool.DruidDataSource
  32. # driverClassName: com.clickhouse.jdbc.ClickHouseDriver
  33. # url: jdbc:clickhouse://1.14.104.71:8123/sop_test?compress=0&use_server_time_zone=true&use_client_time_zone=false&timezone=Asia/Shanghai
  34. # username: default
  35. # password: rt2024
  36. # initialSize: 10
  37. # maxActive: 100
  38. # minIdle: 10
  39. # maxWait: 6000
  40. mysql:
  41. type: com.alibaba.druid.pool.DruidDataSource
  42. driverClassName: com.mysql.cj.jdbc.Driver
  43. druid:
  44. # 主库数据源
  45. master:
  46. url: jdbc:mysql://139.186.77.83:3306/ylrz_his_scrm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
  47. # url: jdbc:mysql://139.186.77.83:3306/ylrz_his_scrm_hetai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
  48. username: Rtroot
  49. password: Rtroot
  50. # 主库数据源
  51. wx:
  52. url: jdbc:mysql://139.186.77.83:3306/wechat_mmtls?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
  53. username: Rtroot
  54. password: Rtroot
  55. # 初始连接数
  56. initialSize: 5
  57. # 最小连接池数量
  58. minIdle: 10
  59. # 最大连接池数量
  60. maxActive: 20
  61. # 配置获取连接等待超时的时间
  62. maxWait: 60000
  63. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  64. timeBetweenEvictionRunsMillis: 60000
  65. # 配置一个连接在池中最小生存的时间,单位是毫秒
  66. minEvictableIdleTimeMillis: 300000
  67. # 配置一个连接在池中最大生存的时间,单位是毫秒
  68. maxEvictableIdleTimeMillis: 900000
  69. # 配置检测连接是否有效
  70. validationQuery: SELECT 1 FROM DUAL
  71. testWhileIdle: true
  72. testOnBorrow: false
  73. testOnReturn: false
  74. webStatFilter:
  75. enabled: true
  76. statViewServlet:
  77. enabled: true
  78. # 设置白名单,不填则允许所有访问
  79. allow:
  80. url-pattern: /druid/*
  81. # 控制台管理用户名和密码
  82. login-username: fs
  83. login-password: 123456
  84. filter:
  85. stat:
  86. enabled: true
  87. # 慢SQL记录
  88. log-slow-sql: true
  89. slow-sql-millis: 1000
  90. merge-sql: true
  91. wall:
  92. config:
  93. multi-statement-allow: true
  94. sop:
  95. type: com.alibaba.druid.pool.DruidDataSource
  96. driverClassName: com.mysql.cj.jdbc.Driver
  97. druid:
  98. # 主库数据源
  99. master:
  100. url: jdbc:mysql://139.186.77.83:3306/his_sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  101. username: Rtroot
  102. password: Rtroot
  103. # 初始连接数
  104. initialSize: 5
  105. # 最小连接池数量
  106. minIdle: 10
  107. # 最大连接池数量
  108. maxActive: 20
  109. # 配置获取连接等待超时的时间
  110. maxWait: 60000
  111. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  112. timeBetweenEvictionRunsMillis: 60000
  113. # 配置一个连接在池中最小生存的时间,单位是毫秒
  114. minEvictableIdleTimeMillis: 300000
  115. # 配置一个连接在池中最大生存的时间,单位是毫秒
  116. maxEvictableIdleTimeMillis: 900000
  117. # 配置检测连接是否有效
  118. validationQuery: SELECT 1 FROM DUAL
  119. testWhileIdle: true
  120. testOnBorrow: false
  121. testOnReturn: false
  122. webStatFilter:
  123. enabled: true
  124. statViewServlet:
  125. enabled: true
  126. # 设置白名单,不填则允许所有访问
  127. allow:
  128. url-pattern: /druid/*
  129. # 控制台管理用户名和密码
  130. login-username: fs
  131. login-password: 123456
  132. filter:
  133. stat:
  134. enabled: true
  135. # 慢SQL记录
  136. log-slow-sql: true
  137. slow-sql-millis: 1000
  138. merge-sql: true
  139. wall:
  140. config:
  141. multi-statement-allow: true
  142. easycall:
  143. type: com.alibaba.druid.pool.DruidDataSource
  144. driverClassName: com.mysql.cj.jdbc.Driver
  145. druid:
  146. # 主库数据源
  147. master:
  148. url: jdbc:mysql://129.28.164.235:3306/easycallcenter365?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  149. username: root
  150. password: easycallcenter365
  151. # 初始连接数
  152. initialSize: 5
  153. # 最小连接池数量
  154. minIdle: 10
  155. # 最大连接池数量
  156. maxActive: 20
  157. # 配置获取连接等待超时的时间
  158. maxWait: 60000
  159. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  160. timeBetweenEvictionRunsMillis: 60000
  161. # 配置一个连接在池中最小生存的时间,单位是毫秒
  162. minEvictableIdleTimeMillis: 300000
  163. # 配置一个连接在池中最大生存的时间,单位是毫秒
  164. maxEvictableIdleTimeMillis: 900000
  165. # 配置检测连接是否有效
  166. validationQuery: SELECT 1 FROM DUAL
  167. testWhileIdle: true
  168. testOnBorrow: false
  169. testOnReturn: false
  170. webStatFilter:
  171. enabled: true
  172. statViewServlet:
  173. enabled: true
  174. # 设置白名单,不填则允许所有访问
  175. allow:
  176. url-pattern: /druid/*
  177. # 控制台管理用户名和密码
  178. login-username: fs
  179. login-password: 123456
  180. filter:
  181. stat:
  182. enabled: true
  183. # 慢SQL记录
  184. log-slow-sql: true
  185. slow-sql-millis: 1000
  186. merge-sql: true
  187. wall:
  188. config:
  189. multi-statement-allow: true
  190. #rocketmq:
  191. # name-server: rmq-1243b25nj.rocketmq.gz.public.tencenttdmq.com:8080 # RocketMQ NameServer 地址
  192. # producer:
  193. # group: my-producer-group
  194. # access-key: ak1243b25nj17d4b2dc1a03 # 替换为实际的 accessKey
  195. # secret-key: sk08a7ea1f9f4b0237 # 替换为实际的 secretKey
  196. # consumer:
  197. # group: test-group
  198. # access-key: ak1243b25nj17d4b2dc1a03 # 替换为实际的 accessKey
  199. # secret-key: sk08a7ea1f9f4b0237 # 替换为实际的 secretKey
  200. # RocketMQ配置
  201. rocketmq:
  202. name-server: 127.0.0.1:9876
  203. producer:
  204. group: event-feedback-producer
  205. send-message-timeout: 3000
  206. retry-times-when-send-failed: 2
  207. retry-times-when-send-async-failed: 2
  208. max-message-size: 4194304
  209. compress-message-body-threshold: 4096
  210. retry-next-server: true
  211. custom:
  212. token: "1o62d3YxvdHd4LEUiltnu7sK"
  213. encoding-aes-key: "UJfTQ5qKTKlegjkXtp1YuzJzxeHlUKvq5GyFbERN1iU"
  214. corp-id: "ww51717e2b71d5e2d3"
  215. secret: "6ODAmw-8W4t6h9mdzHh2Z4Apwj8mnsyRnjEDZOHdA7k"
  216. private-key-path: "privatekey.pem"
  217. webhook-url: "https://your-server.com/wecom/archive"
  218. # token配置
  219. token:
  220. # 令牌自定义标识
  221. header: Authorization
  222. # 令牌密钥
  223. secret: abcdefghijklmnopqrstuvwxyz
  224. # 令牌有效期(默认30分钟)
  225. expireTime: 180
  226. openIM:
  227. secret: openIM123
  228. userID: imAdmin
  229. url: https://web.jnmyim.ylrzfs.com/api
  230. #是否为新商户,新商户不走mpOpenId
  231. isNewWxMerchant: true
  232. #是否使用新im
  233. im:
  234. type: OPENIM
  235. cloud_host:
  236. company_name: 济南联志健康
  237. projectCode: LZJK
  238. spaceName:
  239. volcengineUrl: https://jnlzvolcengine.ylrztop.com
  240. #看课授权时显示的头像
  241. headerImg:
  242. imgUrl: https://hzyy.obs.cn-north-4.myhuaweicloud.com/fs/20250616/1750067609692.png
  243. ipad:
  244. ipadUrl: http://admin.test.ylrztop.com/ipad
  245. aiApi: http://1.95.196.10:3000/api
  246. voiceApi:
  247. commonApi:
  248. url:
  249. wx_miniapp_temp:
  250. pay_order_temp_id:
  251. inquiry_temp_id: