application.yml 15 KB

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