application-dev-yjb.yml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. # 数据源配置
  2. spring:
  3. profiles:
  4. include: common,config-dev-yjb
  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. mysql:
  31. type: com.alibaba.druid.pool.DruidDataSource
  32. driverClassName: com.mysql.cj.jdbc.Driver
  33. druid:
  34. # 主库数据源
  35. master:
  36. url: jdbc:mysql://139.186.77.83:3306/yjb_his_scrm_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  37. username: Rtroot
  38. password: Rtroot
  39. # 初始连接数
  40. initialSize: 5
  41. # 最小连接池数量
  42. minIdle: 10
  43. # 最大连接池数量
  44. maxActive: 20
  45. # 配置获取连接等待超时的时间
  46. maxWait: 60000
  47. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  48. timeBetweenEvictionRunsMillis: 60000
  49. # 配置一个连接在池中最小生存的时间,单位是毫秒
  50. minEvictableIdleTimeMillis: 300000
  51. # 配置一个连接在池中最大生存的时间,单位是毫秒
  52. maxEvictableIdleTimeMillis: 900000
  53. # 配置检测连接是否有效
  54. validationQuery: SELECT 1 FROM DUAL
  55. testWhileIdle: true
  56. testOnBorrow: false
  57. testOnReturn: false
  58. webStatFilter:
  59. enabled: true
  60. statViewServlet:
  61. enabled: true
  62. # 设置白名单,不填则允许所有访问
  63. allow:
  64. url-pattern: /druid/*
  65. # 控制台管理用户名和密码
  66. login-username: fs
  67. login-password: 123456
  68. filter:
  69. stat:
  70. enabled: true
  71. # 慢SQL记录
  72. log-slow-sql: true
  73. slow-sql-millis: 1000
  74. merge-sql: true
  75. wall:
  76. config:
  77. multi-statement-allow: true
  78. sop:
  79. type: com.alibaba.druid.pool.DruidDataSource
  80. driverClassName: com.mysql.cj.jdbc.Driver
  81. druid:
  82. # 主库数据源
  83. master:
  84. url: jdbc:mysql://nj-cdb-6306xy90.sql.tencentcdb.com:27077/fs_his_sop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  85. username: root
  86. password: Ylrz147..
  87. # 初始连接数
  88. initialSize: 5
  89. # 最小连接池数量
  90. minIdle: 10
  91. # 最大连接池数量
  92. maxActive: 20
  93. # 配置获取连接等待超时的时间
  94. maxWait: 60000
  95. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  96. timeBetweenEvictionRunsMillis: 60000
  97. # 配置一个连接在池中最小生存的时间,单位是毫秒
  98. minEvictableIdleTimeMillis: 300000
  99. # 配置一个连接在池中最大生存的时间,单位是毫秒
  100. maxEvictableIdleTimeMillis: 900000
  101. # 配置检测连接是否有效
  102. validationQuery: SELECT 1 FROM DUAL
  103. testWhileIdle: true
  104. testOnBorrow: false
  105. testOnReturn: false
  106. webStatFilter:
  107. enabled: true
  108. statViewServlet:
  109. enabled: true
  110. # 设置白名单,不填则允许所有访问
  111. allow:
  112. url-pattern: /druid/*
  113. # 控制台管理用户名和密码
  114. login-username: fs
  115. login-password: 123456
  116. filter:
  117. stat:
  118. enabled: true
  119. # 慢SQL记录
  120. log-slow-sql: true
  121. slow-sql-millis: 1000
  122. merge-sql: true
  123. wall:
  124. config:
  125. multi-statement-allow: true
  126. spring.jackson.mapper.accept-case-insensitive-properties: true
  127. rocketmq:
  128. name-server: rmq-1243b25nj.rocketmq.gz.public.tencenttdmq.com:8080 # RocketMQ NameServer 地址
  129. producer:
  130. group: my-producer-group
  131. access-key: ak1243b25nj17d4b2dc1a03 # 替换为实际的 accessKey
  132. secret-key: sk08a7ea1f9f4b0237 # 替换为实际的 secretKey
  133. consumer:
  134. group: test-group
  135. access-key: ak1243b25nj17d4b2dc1a03 # 替换为实际的 accessKey
  136. secret-key: sk08a7ea1f9f4b0237 # 替换为实际的 secretKey
  137. custom:
  138. token: "1o62d3YxvdHd4LEUiltnu7sK"
  139. encoding-aes-key: "UJfTQ5qKTKlegjkXtp1YuzJzxeHlUKvq5GyFbERN1iU"
  140. corp-id: "ww51717e2b71d5e2d3"
  141. secret: "6ODAmw-8W4t6h9mdzHh2Z4Apwj8mnsyRnjEDZOHdA7k"
  142. private-key-path: "privatekey.pem"
  143. webhook-url: "https://your-server.com/wecom/archive"
  144. # token配置
  145. token:
  146. # 令牌自定义标识
  147. header: Authorization
  148. # 令牌密钥
  149. secret: abcdefghijklmnopqrstuvwxyz
  150. # 令牌有效期(默认30分钟)
  151. expireTime: 180
  152. openIM:
  153. secret: openIM123
  154. userID: imAdmin
  155. #是否为新商户,新商户不走mpOpenId
  156. isNewWxMerchant: true
  157. hospital580:
  158. url: https://ehospital-openapi.sq580.com
  159. clientId: yjbz_4537_prod
  160. secretKey: F5oXOThiYOLkZK4zBsp8R4ecs7c25umw
  161. storeId: 188804
  162. callbackUrl: https://storeuserapp.bjyjbao.com/hospital580/sync/medicine