application.yml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. #通用的配置不用区分环境变量
  2. server:
  3. port: 10032
  4. spring:
  5. application:
  6. name: svr-cloud-job
  7. datasource:
  8. base:
  9. driver-class-name: com.mysql.jdbc.Driver
  10. max-active: 50
  11. max-idle: 50 #最大空闲连接
  12. min-idle: 10 #最小空闲连接
  13. validation-query-timeout: 20
  14. log-validation-errors: true
  15. validation-interval: 60000 #避免过度验证,保证验证不超过这个频率——以毫秒为单位。如果一个连接应该被验证,但上次验证未达到指定间隔,将不再次验证。
  16. validation-query: SELECT 1 #SQL 查询, 用来验证从连接池取出的连接, 在将连接返回给调用者之前。 如果指定, 则查询必须是一个SQL SELECT 并且必须返回至少一行记录
  17. test-on-borrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
  18. test-on-return: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
  19. idle-timeout: 30000
  20. connection-test-query: SELECT 1
  21. num-tests-per-eviction-run: 50 #在每次空闲连接回收器线程(如果有)运行时检查的连接数量,最好和maxActive
  22. test-while-idle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
  23. min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
  24. time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
  25. zhylyjkglxt:
  26. driver-class-name: com.mysql.jdbc.Driver
  27. max-active: 50
  28. max-idle: 50 #最大空闲连接
  29. min-idle: 10 #最小空闲连接
  30. validation-query-timeout: 20
  31. log-validation-errors: true
  32. validation-interval: 60000 #避免过度验证,保证验证不超过这个频率——以毫秒为单位。如果一个连接应该被验证,但上次验证未达到指定间隔,将不再次验证。
  33. validation-query: SELECT 1 #SQL 查询, 用来验证从连接池取出的连接, 在将连接返回给调用者之前。 如果指定, 则查询必须是一个SQL SELECT 并且必须返回至少一行记录
  34. test-on-borrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
  35. test-on-return: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
  36. idle-timeout: 30000
  37. connection-test-query: SELECT 1
  38. num-tests-per-eviction-run: 50 #在每次空闲连接回收器线程(如果有)运行时检查的连接数量,最好和maxActive
  39. test-while-idle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
  40. min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
  41. time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
  42. fast-dfs:
  43. tracker-server: 10.18.43.40:22122 #服务器地址
  44. connect-timeout: 2 #链接超时时间
  45. network-timeout: 30
  46. charset: ISO8859-1 #编码
  47. http:
  48. tracker-http-port: 80
  49. anti-steal-token: no
  50. secret-key: FastDFS1234567890
  51. pool: #连接池大小
  52. init-size: 5
  53. max-size: 20
  54. wait-time: 500
  55. configDefault: # 默认配置
  56. saasId: xmjkzl_saasId
  57. express:
  58. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  59. sf_code: JKZL
  60. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  61. quartz:
  62. name: schedulerFactoryBean
  63. # 上传文件临时路径配置
  64. FileTempPath:
  65. upload_temp_path : /var/local/temp
  66. image_path : /var/local/upload/images
  67. voice_path : /var/local/upload/voice
  68. chat_file_path : /var/local/upload/chat
  69. ---
  70. spring:
  71. profiles: jwtest
  72. datasource:
  73. base:
  74. jdbcUrl: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  75. username: ssgg
  76. password: ssgg@jkzl2019
  77. zhylyjkglxt:
  78. jdbcUrl: jdbc:mysql://172.26.0.104/gsq_zhjd_zhylyjkglxt?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  79. username: ssgg
  80. password: ssgg@jkzl2019
  81. activemq:
  82. broker-url: tcp://172.26.0.116:61616
  83. user: admin
  84. password: admin
  85. redis:
  86. host: 172.26.0.253 # Redis server host.
  87. port: 6379 # Redis server port.
  88. fastDFS:
  89. fastdfs_file_url: http://172.26.0.110:8888/
  90. fast-dfs:
  91. tracker-server: 172.26.0.110:22122 #服务器地址
  92. demo:
  93. flag: true
  94. hospital:
  95. url: https://wx.xmzsh.com
  96. mqUser: JKZL
  97. mqPwd: 123456
  98. SourceSysCode: S60
  99. TargetSysCode: S01
  100. im:
  101. im_list_get: http://172.26.0.105:3000/
  102. data_base_name: im_internet_hospital
  103. wlyy:
  104. url: http://ehr.yihu.com/wlyy/
  105. wechat:
  106. appId: wxd03f859efdf0873d
  107. appSecret: 2935b54b53a957d9516c920a544f2537
  108. wechat_token: 27eb3bb24f149a7760cf1bb154b08040
  109. wechat_base_url: http%3a%2f%2fweixin.xmtyw.cn%2fwlyy-dev
  110. accId: gh_ffd64560fb21
  111. id: hz_yyyzh_wx # base库中,wx_wechat 的id字段
  112. flag: false #演示环境 true走Mysql数据库 false走Oracle
  113. cloudServer:
  114. server_url: http://172.26.0.107:10301/
  115. pay:
  116. flag: true
  117. cloudCare:
  118. url: http://172.26.0.107:10301/
  119. ##是否发送短信消息 无测试公众号测试线也不发送模板消息
  120. sendTXMessage:
  121. flag: false
  122. ---
  123. spring:
  124. profiles: jwprod
  125. datasource:
  126. base:
  127. jdbcUrl: jdbc:mysql://192.0.33.27:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  128. username: im
  129. password: 2oEq3Kf7
  130. zhylyjkglxt:
  131. url: jdbc:mysql://192.0.33.27:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  132. username: im
  133. password: 2oEq3Kf7
  134. redis:
  135. host: 192.0.33.26 # Redis server host.
  136. port: 6390 # Redis server port.
  137. password: Kb6wKDQP1W4
  138. fastDFS:
  139. fastdfs_file_url: https://hlwyy.xmzsh.com/fastdfs/
  140. fast-dfs:
  141. tracker-server: 192.0.33.26:22122 #服务器地址
  142. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  143. demo:
  144. flag: true
  145. hospital:
  146. url: https://wx.xmzsh.com
  147. mqUser: JKZL
  148. mqPwd: 123456
  149. SourceSysCode: S60
  150. TargetSysCode: S01
  151. im:
  152. im_list_get: http://172.26.0.105:3000/
  153. data_base_name: im_internet_hospital
  154. wlyy:
  155. url: 1
  156. wechat:
  157. appId: wx2c55f5b7b2f3cb56
  158. appSecret: 0dd9927e58125ad5f0efb9299860d145
  159. wechat_token: 27eb3bb24f149a7760cf1bb154b08041
  160. wechat_base_url: https%3A%2F%2Fzhyzh.gongshu.gov.cn%2Fcityihealth%2FcloudCare%2F
  161. accId: gh_da06ed9e5751
  162. id: hz_yyyzh_wx # base库中,wx_wechat 的id字段
  163. flag: true #演示环境 true走Mysql数据库 false走Oracle
  164. cloudServer:
  165. server_url: http://172.26.0.12:10301/
  166. pay:
  167. flag: true
  168. ##是否发送短信消息
  169. sendTXMessage:
  170. flag: true
  171. cloudCare:
  172. url: 1
  173. ---
  174. spring:
  175. profiles: hzprod
  176. datasource:
  177. base:
  178. jdbcUrl: jdbc:mysql://10.18.43.40:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  179. username: wlyy
  180. password: '0XxS3W*!cRj'
  181. zhylyjkglxt:
  182. jdbcUrl: jdbc:mysql://10.71.83.98:3306/gsq_zhjd_zhylyjkglxt?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  183. username: gsq_zhjd_zhylyjkglxt
  184. password: 'GSQ_YTHPT@2021'
  185. zhdevicePush:
  186. jdbcUrl: jdbc:mysql://10.18.44.26:3306/gsqfl?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  187. username: gsq_flzz
  188. password: 'GsFL_634gdfas'
  189. activemq:
  190. broker-url: tcp://10.18.43.40:61616
  191. user: admin
  192. password: admin
  193. redis:
  194. host: 10.18.43.40 # Redis server host.
  195. port: 6379 # Redis server port.
  196. password: Kb6wKDQP1W4
  197. fastDFS:
  198. fastdfs_file_url: http://10.18.43.40:8888/
  199. fast-dfs:
  200. tracker-server: 10.18.43.40:22122 #服务器地址
  201. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  202. demo:
  203. flag: false
  204. hospital:
  205. url: 1
  206. mqUser: 1
  207. mqPwd: 1
  208. SourceSysCode: S60
  209. TargetSysCode: S01
  210. im:
  211. im_list_get: http://10.18.43.41:3000/
  212. data_base_name: im_internet_hospital
  213. wlyy:
  214. url: 1
  215. wechat:
  216. appId: wx2c55f5b7b2f3cb56
  217. appSecret: 0dd9927e58125ad5f0efb9299860d145
  218. wechat_token: 27eb3bb24f149a7760cf1bb154b08041
  219. wechat_base_url: https%3A%2F%2Fzhyzh.gongshu.gov.cn%2Fcityihealth%2FcloudCare%2F
  220. accId: gh_da06ed9e5751
  221. id: hz_yyyzh_wx # base库中,wx_wechat 的id字段
  222. flag: true #演示环境 true走Mysql数据库 false走Oracle
  223. cloudServer:
  224. server_url: http://10.18.43.41:10301/
  225. pay:
  226. flag: true
  227. ##是否发送短信消息
  228. sendTXMessage:
  229. flag: true
  230. cloudCare:
  231. url: http://127.0.0.1:10301/