application-dev.yml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. #rocketmq:
  143. # name-server: rmq-1243b25nj.rocketmq.gz.public.tencenttdmq.com:8080 # RocketMQ NameServer 地址
  144. # producer:
  145. # group: my-producer-group
  146. # access-key: ak1243b25nj17d4b2dc1a03 # 替换为实际的 accessKey
  147. # secret-key: sk08a7ea1f9f4b0237 # 替换为实际的 secretKey
  148. # consumer:
  149. # group: test-group
  150. # access-key: ak1243b25nj17d4b2dc1a03 # 替换为实际的 accessKey
  151. # secret-key: sk08a7ea1f9f4b0237 # 替换为实际的 secretKey
  152. # RocketMQ配置
  153. rocketmq:
  154. name-server: 127.0.0.1:9876
  155. producer:
  156. group: event-feedback-producer
  157. send-message-timeout: 3000
  158. retry-times-when-send-failed: 2
  159. retry-times-when-send-async-failed: 2
  160. max-message-size: 4194304
  161. compress-message-body-threshold: 4096
  162. retry-next-server: true
  163. custom:
  164. token: "1o62d3YxvdHd4LEUiltnu7sK"
  165. encoding-aes-key: "UJfTQ5qKTKlegjkXtp1YuzJzxeHlUKvq5GyFbERN1iU"
  166. corp-id: "ww51717e2b71d5e2d3"
  167. secret: "6ODAmw-8W4t6h9mdzHh2Z4Apwj8mnsyRnjEDZOHdA7k"
  168. private-key-path: "privatekey.pem"
  169. webhook-url: "https://your-server.com/wecom/archive"
  170. # token配置
  171. token:
  172. # 令牌自定义标识
  173. header: Authorization
  174. # 令牌密钥
  175. secret: abcdefghijklmnopqrstuvwxyz
  176. # 令牌有效期(默认30分钟)
  177. expireTime: 180
  178. openIM:
  179. secret: openIM123
  180. userID: imAdmin
  181. url: https://web.jnmyim.ylrzfs.com/api
  182. #是否为新商户,新商户不走mpOpenId
  183. isNewWxMerchant: true
  184. #是否使用新im
  185. im:
  186. type: OPENIM
  187. cloud_host:
  188. company_name: 济南联志健康
  189. projectCode: LZJK
  190. spaceName:
  191. volcengineUrl: https://jnlzvolcengine.ylrztop.com
  192. #看课授权时显示的头像
  193. headerImg:
  194. imgUrl: https://hzyy.obs.cn-north-4.myhuaweicloud.com/fs/20250616/1750067609692.png
  195. ipad:
  196. ipadUrl: http://admin.test.ylrztop.com/ipad
  197. aiApi: http://1.95.196.10:3000/api
  198. voiceApi:
  199. commonApi:
  200. url:
  201. wx_miniapp_temp:
  202. pay_order_temp_id:
  203. inquiry_temp_id: