application.yml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  1. #通用的配置不用区分环境变量
  2. server:
  3. port: 10301
  4. spring:
  5. aop:
  6. proxy-target-class: true
  7. datasource:
  8. hikari:
  9. minimum-idle: 100 # 最小连接数
  10. maximum-pool-size: 300
  11. max-active: 200
  12. max-idle: 200 #最大空闲连接
  13. min-idle: 10 #最小空闲连接
  14. validation-query-timeout: 20
  15. log-validation-errors: true
  16. validation-interval: 60000 #避免过度验证,保证验证不超过这个频率——以毫秒为单位。如果一个连接应该被验证,但上次验证未达到指定间隔,将不再次验证。
  17. validation-query: SELECT 1 #SQL 查询, 用来验证从连接池取出的连接, 在将连接返回给调用者之前。 如果指定, 则查询必须是一个SQL SELECT 并且必须返回至少一行记录
  18. test-on-borrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
  19. test-on-return: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
  20. idle-timeout: 60000
  21. connection-test-query: SELECT 1
  22. num-tests-per-eviction-run: 200 #在每次空闲连接回收器线程(如果有)运行时检查的连接数量,最好和maxActive
  23. test-while-idle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
  24. min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
  25. time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
  26. http:
  27. multipart:
  28. max-file-size: 30MB
  29. max-request-size: 100MB
  30. # location: D:/work/soft_dev/IdeaWorkSpace/wlyy2.0/svr/svr-patient/temp_file/
  31. # resolve-lazily: true
  32. redis:
  33. database: 0 # Database index used by the connection factory.
  34. password: # Login password of the redis server.
  35. timeout: 120000 # 连接超时时间(毫秒) 60秒
  36. pool:
  37. max-active: 20 # 连接池最大连接数(使用负值表示没有限制)
  38. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  39. max-idle: 20 # 连接池中的最大空闲连接
  40. min-idle: 5 # 连接池中的最小空闲连接
  41. mail:
  42. default-encoding: UTF-8
  43. #端口
  44. port: 25
  45. #协议
  46. protocol: smtp
  47. properties.mail.smtp.auth: true
  48. properties.mail.smtp.starttls.enable: true
  49. properties.mail.smtp.starttls.required: true
  50. host: smtp.163.com
  51. #发送者的邮箱密码
  52. password: xmijk181016jkzl
  53. #发送者的邮箱账号
  54. username: i_jiankang@163.com
  55. es:
  56. index:
  57. servicePackLog: base_service_package_log
  58. type:
  59. servicePackLog: base_service_package_log
  60. fast-dfs:
  61. connect-timeout: 2 #链接超时时间
  62. network-timeout: 30
  63. charset: ISO8859-1 #编码
  64. http:
  65. tracker-http-port: 80
  66. anti-steal-token: no
  67. secret-key: FastDFS1234567890
  68. pool: #连接池大小
  69. init-size: 5
  70. max-size: 20
  71. wait-time: 500
  72. configDefault: # 默认配置
  73. saasId: xmjkzl_saasId
  74. tencent:
  75. secretId: AKIDa1C6k7D2astd6JGvKRJvFJ6dsrZ1C5h2
  76. secretKey: 7xWpsd7KGC3f16vUq0ucARRAcnhKfjX4
  77. ---
  78. spring:
  79. profiles: jwdev
  80. datasource:
  81. driver-class-name: com.mysql.jdbc.Driver
  82. url: jdbc:mysql://172.26.0.114/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  83. username: root
  84. password: jkzlehr
  85. # elasticsearch:
  86. # cluster-name: jkzl #集群名 默认elasticsearch
  87. # cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  88. # client-transport-sniff: false
  89. # jest:
  90. # uris: http://172.26.0.112:9200,http://172.26.0.112:9200
  91. # connection-timeout: 60000 # Connection timeout in milliseconds.
  92. # multi-threaded: true # Enable connection requests from multiple execution threads.
  93. activemq:
  94. broker-url: tcp://172.26.0.116:61616
  95. user: admin
  96. password: admin
  97. redis:
  98. host: 172.26.0.253 # Redis server host.
  99. port: 6379 # Redis server port.
  100. # password: jkzl_ehr
  101. # zipkin:
  102. # base-url: http://localhost:9411 #日志追踪的地址
  103. fastDFS:
  104. fastdfs_file_url: http://172.26.0.110:8888/
  105. fast-dfs:
  106. tracker-server: 172.26.0.110:22122 #服务器地址
  107. # 短信发送地址
  108. jw:
  109. smsUrl: http://svr-base:10020/sms_gateway/send
  110. myFamily:
  111. qrCodeFailurTime: 2
  112. # 短信验证码发送的客户端标识,居民端
  113. sms:
  114. clientId: EwC0iRSrcP
  115. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  116. demo:
  117. flag: true
  118. #支付支付
  119. pay:
  120. flag: true
  121. hospital:
  122. url: https://wx.xmzsh.com
  123. mqUser: JKZL
  124. mqPwd: 123456
  125. SourceSysCode: S60
  126. TargetSysCode: S01
  127. wechat:
  128. appId: wxd03f859efdf0873d
  129. appSecret: 2935b54b53a957d9516c920a544f2537
  130. apiKey: zhongjianxinlianxiamenkejiyouxia
  131. mchId: 1611059985
  132. wechat_token: 27eb3bb24f149a7760cf1bb154b08040
  133. wechat_base_url: http%3a%2f%2fweixin.xmtyw.cn%2fwlyy-dev
  134. accId: gh_ffd64560fb21
  135. id: ijk # base库中,wx_wechat 的id字段
  136. flag: false #演示环境 true走Mysql数据库 false走Oracle
  137. im:
  138. im_list_get: http://172.26.0.105:3000/
  139. data_base_name: im_internet_hospital
  140. es:
  141. pwflag: 1 # 1需要密码,2不需要密码
  142. index:
  143. Statistics: hlw_quota_test
  144. FollowUp: wlyy_followup
  145. type:
  146. Statistics: hlw_quota_test
  147. FollowUpContent: wlyy_followup_content
  148. host: http://172.26.0.55:9000
  149. tHost: 172.26.0.55:9300
  150. clusterName: jkzl
  151. securityUser: lion:jkzlehr
  152. user: lion
  153. password: jkzlehr
  154. # 上传文件临时路径配置
  155. FileTempPath:
  156. upload_temp_path : /var/local/temp
  157. image_path : /var/local/upload/images
  158. voice_path : /var/local/upload/voice
  159. chat_file_path : /var/local/upload/chat
  160. qywx:
  161. url: 2
  162. id: 2
  163. express:
  164. sf_url: https://mrds-admin.sf-express.com:443
  165. sf_code: JKZL
  166. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  167. baiduApi:
  168. AK: 0vjnCSReegE7A47a941ohjv9a07ONiMC
  169. url: http://api.map.baidu.com/
  170. systemSetting:
  171. isApplication: 0 # 是否需要资质申请 1需要 0 不需要
  172. base:
  173. url: http://172.17.110.212:10020/
  174. hospitalUrl: http://172.26.0.107:10022/
  175. cloudCare:
  176. deviceUrl: http://172.26.0.107:9112/
  177. ---
  178. spring:
  179. profiles: jwtest
  180. datasource:
  181. driver-class-name: com.mysql.jdbc.Driver
  182. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  183. username: ssgg
  184. password: ssgg@jkzl2019
  185. # elasticsearch:
  186. # cluster-name: jkzl #集群名 默认elasticsearch
  187. # cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  188. # client-transport-sniff: false
  189. # jest:
  190. # uris: http://172.26.0.112:9200,http://172.26.0.112:9200
  191. # connection-timeout: 60000 # Connection timeout in milliseconds.
  192. # multi-threaded: true # Enable connection requests from multiple execution threads.
  193. activemq:
  194. broker-url: tcp://172.26.0.116:61616
  195. user: admin
  196. password: admin
  197. redis:
  198. host: 172.26.0.253 # Redis server host.
  199. port: 6379 # Redis server port.
  200. fastDFS:
  201. fastdfs_file_url: http://172.26.0.110:8888/
  202. fast-dfs:
  203. tracker-server: 172.26.0.110:22122 #服务器地址
  204. # 短信验证码发送的客户端标识,居民端
  205. sms:
  206. clientId: EwC0iRSrcP
  207. myFamily:
  208. qrCodeFailurTime: 2
  209. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  210. demo:
  211. flag: true
  212. #支付支付
  213. pay:
  214. flag: true
  215. hospital:
  216. url: https://wx.xmzsh.com
  217. mqUser: JKZL
  218. mqPwd: 123456
  219. SourceSysCode: S60
  220. TargetSysCode: S01
  221. wechat:
  222. appId: wxd03f859efdf0873d
  223. appSecret: 2935b54b53a957d9516c920a544f2537
  224. apiKey: zhongjianxinlianxiamenkejiyouxia
  225. mchId: 1611059985
  226. wechat_token: 27eb3bb24f149a7760cf1bb154b08040
  227. wechat_base_url: http%3a%2f%2fweixin.xmtyw.cn%2fwlyy-dev
  228. accId: gh_ffd64560fb21
  229. id: hz_yyyzh_wx # base库中,wx_wechat 的id字段
  230. flag: false #演示环境 true走Mysql数据库 false走Oracle
  231. im:
  232. im_list_get: http://172.26.0.105:3000/
  233. data_base_name: im_internet_hospital
  234. es:
  235. pwflag: 1 # 1需要密码,2不需要密码
  236. index:
  237. Statistics: hlw_quota_test
  238. FollowUp: wlyy_followup
  239. type:
  240. Statistics: hlw_quota_test
  241. FollowUpContent: wlyy_followup_content
  242. host: http://172.26.0.112:9000
  243. tHost: 172.26.0.112:9300
  244. clusterName: jkzl
  245. securityUser: zjxl:6Dbq&fHg
  246. user: zjxl
  247. password: 6Dbq&fHg
  248. # 上传文件临时路径配置
  249. FileTempPath:
  250. upload_temp_path : /var/local/temp
  251. image_path : /var/local/upload/images
  252. voice_path : /var/local/upload/voice
  253. chat_file_path : /var/local/upload/chat
  254. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  255. testPattern:
  256. sign: 0
  257. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  258. wlyy:
  259. url: http://ehr.yihu.com/wlyy/
  260. qywx:
  261. url: 2
  262. id: 1
  263. express:
  264. sf_url: http://mrds-admin-ci.sit.sf-express.com:45478
  265. sf_code: HD000001
  266. sf_check_word: AAAABBBBCCCCDDDD
  267. baiduApi:
  268. AK: 0vjnCSReegE7A47a941ohjv9a07ONiMC
  269. url: http://api.map.baidu.com/
  270. # 系统配置
  271. systemSetting:
  272. isApplication: 0 # 是否需要资质申请 1需要 0 不需要
  273. base:
  274. url: http://172.17.110.212:10020/
  275. hospitalUrl: http://172.26.0.107:10022/
  276. cloudCare:
  277. deviceUrl: http://172.26.0.107:9112/
  278. ---
  279. spring:
  280. profiles: jwprod
  281. datasource:
  282. driver-class-name: com.mysql.jdbc.Driver
  283. url: jdbc:mysql://172.16.1.42:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  284. username: im
  285. password: 2oEq3Kf7
  286. # elasticsearch:
  287. # cluster-name: jkzl #集群名 默认elasticsearch
  288. # cluster-nodes: 192.0.33.26:9200 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  289. # client-transport-sniff: false
  290. # jest:
  291. # uris: http://192.0.33.26:9300
  292. # connection-timeout: 60000 # Connection timeout in milliseconds.
  293. # multi-threaded: true # Enable connection requests from multiple execution threads.
  294. activemq:
  295. broker-url: tcp://59.61.92.90:9103
  296. user: jkzl
  297. password: jkzlehr
  298. redis:
  299. host: 192.0.33.26 # Redis server host.
  300. port: 6390 # Redis server port.
  301. password: Kb6wKDQP1W4
  302. fastDFS:
  303. fastdfs_file_url: https://hlwyy.xmzsh.com/fastdfs/
  304. fast-dfs:
  305. tracker-server: 192.0.33.26:22122 #服务器地址
  306. # 短信验证码发送的客户端标识,居民端
  307. sms:
  308. clientId: EwC0iRSrcP #todo 待配置
  309. myFamily:
  310. qrCodeFailurTime: 2
  311. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  312. demo:
  313. flag: true
  314. #支付支付
  315. pay:
  316. flag: true
  317. hospital:
  318. url: https://wx.xmzsh.com
  319. mqUser: JKZL
  320. mqPwd: 123456
  321. SourceSysCode: S60
  322. TargetSysCode: S01
  323. wechat:
  324. appId: wxd03f859efdf0873d
  325. appSecret: 2935b54b53a957d9516c920a544f2537
  326. apiKey: zhongjianxinlianxiamenkejiyouxia
  327. mchId: 1611059985
  328. wechat_token: 27eb3bb24f149a7760cf1bb154b08040
  329. wechat_base_url: http%3a%2f%2fweixin.xmtyw.cn%2fwlyy-dev
  330. accId: gh_ffd64560fb21
  331. id: hz_yyyzh_wx # base库中,wx_wechat 的id字段
  332. flag: false #演示环境 true走Mysql数据库 false走Oracle
  333. im:
  334. im_list_get: http://172.26.0.105:3000/
  335. data_base_name: im_internet_hospital
  336. es:
  337. pwflag: 1 # 1需要密码,2不需要密码
  338. index:
  339. Statistics: hlw_quota_test
  340. FollowUp: wlyy_followup
  341. type:
  342. Statistics: hlw_quota_test
  343. FollowUpContent: wlyy_followup_content
  344. host: http://172.26.0.55:9000
  345. tHost: 172.26.0.55:9300
  346. clusterName: jkzl
  347. securityUser: lion:jkzlehr
  348. user: lion
  349. password: jkzlehr
  350. # 上传文件临时路径配置
  351. FileTempPath:
  352. upload_temp_path : /var/local/temp
  353. image_path : /var/local/upload/images
  354. voice_path : /var/local/upload/voice
  355. chat_file_path : /var/local/upload/chat
  356. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  357. testPattern:
  358. sign: 0
  359. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  360. wlyy:
  361. url: http://www.xmtyw.cn/wlyytest/
  362. qywx:
  363. url: https://hlwyy.xmzsh.com/hlwyy
  364. id: zsyy
  365. express:
  366. sf_url: https://mrds-admin.sf-express.com:443
  367. sf_code: WH000102
  368. sf_check_word: TGUQASFNAZyjt9112
  369. baiduApi:
  370. AK: 0vjnCSReegE7A47a941ohjv9a07ONiMC
  371. url: http://api.map.baidu.com/
  372. # 系统配置
  373. systemSetting:
  374. isApplication: 0 # 是否需要资质申请 1需要 0 不需要
  375. base:
  376. url: http://172.17.110.212:10020/
  377. hospitalUrl: http://172.26.0.107:10022/
  378. cloudCare:
  379. deviceUrl: http://172.26.0.107:9112/
  380. ---
  381. spring:
  382. profiles: hzprod
  383. datasource:
  384. driver-class-name: com.mysql.jdbc.Driver
  385. url: jdbc:mysql://10.18.43.40:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  386. username: wlyy
  387. password: '0XxS3W*!cRj'
  388. # elasticsearch:
  389. # cluster-name: jkzl #集群名 默认elasticsearch
  390. # cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  391. # client-transport-sniff: false
  392. # jest:
  393. # uris: http://172.26.0.112:9200,http://172.26.0.112:9200
  394. # connection-timeout: 60000 # Connection timeout in milliseconds.
  395. # multi-threaded: true # Enable connection requests from multiple execution threads.
  396. activemq:
  397. broker-url: tcp://10.18.43.40:61616
  398. user: admin
  399. password: admin
  400. redis:
  401. host: 10.18.43.40 # Redis server host.
  402. port: 6379 # Redis server port.
  403. password: Kb6wKDQP1W4
  404. fastDFS:
  405. fastdfs_file_url: https://zhyzh.gongshu.gov.cn/fastdfs/
  406. fast-dfs:
  407. tracker-server: 10.18.43.40:22122 #服务器地址
  408. # 短信验证码发送的客户端标识,居民端
  409. sms:
  410. clientId: EwC0iRSrcP
  411. myFamily:
  412. qrCodeFailurTime: 2
  413. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  414. demo:
  415. flag: false
  416. #支付支付
  417. pay:
  418. flag: true
  419. hospital:
  420. url: 1
  421. mqUser: 1
  422. mqPwd: 1
  423. SourceSysCode: S60
  424. TargetSysCode: S01
  425. wechat:
  426. appId: wx2c55f5b7b2f3cb56
  427. appSecret: 0dd9927e58125ad5f0efb9299860d145
  428. apiKey: zhongjianxinlianxiamenkejiyouxia
  429. mchId: 1611059985
  430. wechat_token: 27eb3bb24f149a7760cf1bb154b08041
  431. wechat_base_url: https%3A%2F%2Fzhyzh.gongshu.gov.cn%2FcloudCare%2F
  432. accId: gh_da06ed9e5751
  433. id: hz_yyyzh_wx # base库中,wx_wechat 的id字段
  434. flag: true #演示环境 true走Mysql数据库 false走Oracle
  435. im:
  436. im_list_get: http://10.18.43.41:3000/
  437. data_base_name: im_internet_hospital
  438. es:
  439. pwflag: 2 # 1需要密码,2不需要密码
  440. index:
  441. Statistics: hlw_quota_prod
  442. FollowUp: wlyy_followup
  443. type:
  444. Statistics: hlw_quota_prod
  445. FollowUpContent: wlyy_followup_content
  446. host: http://10.18.43.40:9200
  447. tHost: 10.18.43.40:9300
  448. clusterName: jkzl
  449. securityUser: zjxl:6Dbq&fHg
  450. user: zjxl
  451. password: 6Dbq&fHg
  452. # 上传文件临时路径配置
  453. FileTempPath:
  454. upload_temp_path : /var/local/temp
  455. image_path : /var/local/upload/images
  456. voice_path : /var/local/upload/voice
  457. chat_file_path : /var/local/upload/chat
  458. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  459. testPattern:
  460. sign: 0
  461. remote_inner_url: 1
  462. wlyy:
  463. url: 1
  464. qywx:
  465. url: 2
  466. id: 1
  467. express:
  468. sf_url: http://mrds-admin-ci.sit.sf-express.com:45478
  469. sf_code: HD000001
  470. sf_check_word: AAAABBBBCCCCDDDD
  471. baiduApi:
  472. AK: 0vjnCSReegE7A47a941ohjv9a07ONiMC
  473. url: http://api.map.baidu.com/
  474. # 系统配置
  475. systemSetting:
  476. isApplication: 0 # 是否需要资质申请 1需要 0 不需要
  477. base:
  478. hospitalUrl: http://127.0.0.7:10022/
  479. cloudCare:
  480. deviceUrl: https://zhyzh.gongshu.gov.cn/device/