application.yml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. #通用的配置不用区分环境变量
  2. server:
  3. # port: ${server.svr-internet-hospital-entrance-port}
  4. port: 10023
  5. spring:
  6. datasource:
  7. driver-class-name: com.mysql.jdbc.Driver
  8. max-active: 50
  9. max-idle: 50 #最大空闲连接
  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: 30000
  18. connection-test-query: SELECT 1
  19. num-tests-per-eviction-run: 50 #在每次空闲连接回收器线程(如果有)运行时检查的连接数量,最好和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. redis:
  28. database: 0 # Database index used by the connection factory.
  29. password: # Login password of the redis server.
  30. timeout: 120000 # 连接超时时间(毫秒) 60秒
  31. pool:
  32. max-active: 20 # 连接池最大连接数(使用负值表示没有限制)
  33. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  34. max-idle: 20 # 连接池中的最大空闲连接
  35. min-idle: 5 # 连接池中的最小空闲连接
  36. application:
  37. name: svr-internet-hospital-entrance
  38. fast-dfs:
  39. # tracker-server: 172.26.0.110:22122 #服务器地址
  40. connect-timeout: 2 #链接超时时间
  41. network-timeout: 30
  42. charset: ISO8859-1 #编码
  43. http:
  44. tracker-http-port: 80
  45. anti-steal-token: no
  46. secret-key: FastDFS1234567890
  47. pool: #连接池大小
  48. init-size: 5
  49. max-size: 20
  50. wait-time: 500
  51. configDefault: # 默认配置
  52. saasId: xmjkzl_saasId
  53. # 上传文件临时路径配置
  54. FileTempPath:
  55. upload_temp_path : /var/local/temp
  56. image_path : /var/local/upload/images
  57. voice_path : /var/local/upload/voice
  58. chat_file_path : /var/local/upload/chat
  59. #是否开启i健康接口 0关闭,1开启
  60. testPattern:
  61. sign: 0
  62. wlyy:
  63. url: http://www.xmtyw.cn/wlyytest/
  64. ---
  65. spring:
  66. profiles: jwdev
  67. datasource:
  68. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  69. username: ssgg
  70. password: ssgg@jkzl2019
  71. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  72. demo:
  73. flag: true
  74. #支付支付
  75. pay:
  76. flag: true
  77. hospital:
  78. url: https://wx.xmzsh.com
  79. mqUser: JKZL
  80. mqPwd: 123456
  81. SourceSysCode: S60
  82. TargetSysCode: S01
  83. im:
  84. im_list_get: http://172.26.0.105:3000/
  85. data_base_name: im_internet_hospital
  86. fastDFS:
  87. fastdfs_file_url: http://172.26.0.110:8888/
  88. fast-dfs:
  89. tracker-server: 192.168.103.159:22122 #服务器地址
  90. #是否开启i健康接口 0关闭,1开启
  91. testPattern:
  92. sign: 0
  93. wlyy:
  94. url: http://www.xmtyw.cn/wlyytest/
  95. express:
  96. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  97. sf_code: JKZL
  98. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  99. ---
  100. spring:
  101. profiles: jwtest
  102. datasource:
  103. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  104. username: ssgg
  105. password: ssgg@jkzl2019
  106. redis:
  107. host: 172.26.0.253 # Redis server host.
  108. port: 6379 # Redis server port.
  109. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  110. demo:
  111. flag: true
  112. #支付支付
  113. pay:
  114. flag: true
  115. hospital:
  116. url: https://wx.xmzsh.com
  117. mqUser: JKZL
  118. mqPwd: 123456
  119. SourceSysCode: S60
  120. TargetSysCode: S01
  121. im:
  122. im_list_get: http://172.26.0.105:3000/
  123. data_base_name: im_internet_hospital
  124. fastDFS:
  125. fastdfs_file_url: http://172.26.0.110:8888/
  126. fast-dfs:
  127. tracker-server: 192.168.103.159:22122 #服务器地址
  128. #是否开启i健康接口 0关闭,1开启
  129. testPattern:
  130. sign: 0
  131. wlyy:
  132. url: http://www.xmtyw.cn/wlyytest/
  133. wechat:
  134. id: d24d1367-7f4f-43af-910e-a0a43799e040 # base库中,wx_wechat 的id字段 # todo 待配置
  135. flag: false #演示环境 true走Mysql数据库 false走Oracle
  136. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  137. express:
  138. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  139. sf_code: JKZL
  140. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  141. ---
  142. spring:
  143. profiles: jwprod
  144. datasource:
  145. url: jdbc:mysql://192.0.33.27:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  146. username: im
  147. password: 2oEq3Kf7
  148. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  149. demo:
  150. flag: false
  151. #支付支付
  152. pay:
  153. flag: true
  154. hospital:
  155. url: https://wx.xmzsh.com
  156. mqUser: JKZL
  157. mqPwd: 123456
  158. SourceSysCode: S60
  159. TargetSysCode: S01
  160. im:
  161. im_list_get: http://172.16.1.42:3000/
  162. data_base_name: im
  163. fastDFS:
  164. fastdfs_file_url: http://192.0.33.26:8888/
  165. fast-dfs:
  166. tracker-server: 192.168.103.159:22122 #服务器地址
  167. #是否开启i健康接口 0关闭,1开启
  168. testPattern:
  169. sign: 0
  170. wlyy:
  171. url: http://www.xmtyw.cn/wlyytest/
  172. wechat:
  173. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  174. flag: false #演示环境 true走Mysql数据库 false走Oracle
  175. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  176. express:
  177. sf_url: https://mrds-admin.sf-express.com:443
  178. sf_code: WH000102
  179. sf_check_word: TGUQASFNAZyjt9112
  180. ---
  181. # 眼科医院前置机
  182. spring:
  183. profiles: jwOracleTest
  184. datasource:
  185. driver-class-name: oracle.jdbc.driver.OracleDriver
  186. url: jdbc:oracle:thin:@172.26.0.141:1521:helowin
  187. username: normal
  188. password: normal
  189. jpa:
  190. properties:
  191. hibernate:
  192. dialect: org.hibernate.dialect.Oracle10gDialect
  193. show_sql: true
  194. database: oracle
  195. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  196. demo:
  197. flag: false
  198. #支付支付
  199. pay:
  200. flag: true
  201. hospital:
  202. url: https://wx.xmzsh.com
  203. mqUser: JKZL
  204. mqPwd: 123456
  205. SourceSysCode: S60
  206. TargetSysCode: S01
  207. im:
  208. im_list_get: http://172.16.1.42:3000/
  209. data_base_name: im
  210. fastDFS:
  211. fastdfs_file_url: http://192.0.33.26:8888/
  212. fast-dfs:
  213. tracker-server: 192.168.103.159:22122 #服务器地址
  214. #是否开启i健康接口 0关闭,1开启
  215. testPattern:
  216. sign: 0
  217. wlyy:
  218. url: http://www.xmtyw.cn/wlyytest/
  219. wechat:
  220. id: d24d1367-7f4f-43af-910e-a0a43799e040 # base库中,wx_wechat 的id字段 # todo 待配置
  221. flag: false #演示环境 true走Mysql数据库 false走Oracle
  222. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  223. express:
  224. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  225. sf_code: WH000091
  226. sf_check_word: SFAHKAOFAAITyjt7890
  227. ---
  228. # 眼科医院前置机
  229. spring:
  230. profiles: ykjzOracleProd
  231. datasource:
  232. driver-class-name: oracle.jdbc.driver.OracleDriver
  233. url: jdbc:oracle:thin:@192.168.20.55:1521:orcl
  234. username: system
  235. password: hxyk9573
  236. jpa:
  237. properties:
  238. hibernate:
  239. dialect: org.hibernate.dialect.Oracle10gDialect
  240. show_sql: true
  241. database: oracle
  242. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  243. demo:
  244. flag: false
  245. #支付支付
  246. pay:
  247. flag: true
  248. hospital:
  249. url: https://wx.xmzsh.com
  250. mqUser: JKZL
  251. mqPwd: 123456
  252. SourceSysCode: S60
  253. TargetSysCode: S01
  254. im:
  255. im_list_get: http://172.16.1.42:3000/
  256. data_base_name: im
  257. fastDFS:
  258. fastdfs_file_url: http://192.0.33.26:8888/
  259. fast-dfs:
  260. tracker-server: 192.168.103.159:22122 #服务器地址
  261. #是否开启i健康接口 0关闭,1开启
  262. testPattern:
  263. sign: 0
  264. wlyy:
  265. url: http://www.xmtyw.cn/wlyytest/
  266. wechat:
  267. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  268. flag: false #演示环境 true走Mysql数据库 false走Oracle
  269. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  270. express:
  271. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  272. sf_code: WH000091
  273. sf_check_word: SFAHKAOFAAITyjt7890
  274. ---
  275. # 眼科医院前置机
  276. spring:
  277. profiles: jwOracleProd
  278. datasource:
  279. driver-class-name: oracle.jdbc.driver.OracleDriver
  280. url: jdbc:oracle:thin:@192.168.20.55:1521:orcl
  281. username: system
  282. password: hxyk9573
  283. jpa:
  284. properties:
  285. hibernate:
  286. dialect: org.hibernate.dialect.Oracle10gDialect
  287. show_sql: true
  288. database: oracle
  289. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  290. demo:
  291. flag: false
  292. #支付支付
  293. pay:
  294. flag: true
  295. hospital:
  296. url: https://wx.xmzsh.com
  297. mqUser: JKZL
  298. mqPwd: 123456
  299. SourceSysCode: S60
  300. TargetSysCode: S01
  301. im:
  302. im_list_get: http://172.16.1.42:3000/
  303. data_base_name: im
  304. fastDFS:
  305. fastdfs_file_url: http://192.0.33.26:8888/
  306. fast-dfs:
  307. tracker-server: 192.168.103.159:22122 #服务器地址
  308. #是否开启i健康接口 0关闭,1开启
  309. testPattern:
  310. sign: 0
  311. wlyy:
  312. url: http://www.xmtyw.cn/wlyytest/
  313. wechat:
  314. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  315. flag: false #演示环境 true走Mysql数据库 false走Oracle
  316. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  317. express:
  318. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  319. sf_code: WH000091
  320. sf_check_word: SFAHKAOFAAITyjt7890
  321. ---
  322. #心脏中心前置机配置
  323. spring:
  324. profiles: xzprod_in
  325. datasource:
  326. driver-class-name: com.mysql.jdbc.Driver
  327. url: jdbc:mysql://192.168.103.155:7306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  328. username: jkzl
  329. password: jkzl@2020
  330. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  331. demo:
  332. flag: false
  333. #支付支付
  334. pay:
  335. flag: true
  336. hospital:
  337. url: https://wx.xmzsh.com
  338. mqUser: JKZL
  339. mqPwd: 123456
  340. SourceSysCode: S60
  341. TargetSysCode: S01
  342. im:
  343. im_list_get: http://192.168.118.240:3000/
  344. data_base_name: im
  345. fastDFS:
  346. fastdfs_file_url: http://192.168.103.159:8888/
  347. fast-dfs:
  348. tracker-server: 192.168.103.159:22122 #服务器地址
  349. #是否开启i健康接口 0关闭,1开启
  350. testPattern:
  351. sign: 0
  352. wlyy:
  353. url: http://www.xmtyw.cn/wlyytest/
  354. wechat:
  355. id: xm_xzzx_wx # base库中,wx_wechat 的id字段
  356. flag: false #演示环境 true走Mysql数据库 false走Oracle
  357. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  358. express:
  359. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  360. sf_code: WH000061
  361. sf_check_word: BEWFSCXSyjt4314rz
  362. ---
  363. spring:
  364. profiles: jwystest
  365. datasource:
  366. url: jdbc:mysql://172.26.0.195/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  367. username: root
  368. password: jkzlehr
  369. redis:
  370. host: 172.26.0.190 # Redis server host.
  371. port: 6379 # Redis server port.
  372. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  373. demo:
  374. flag: true
  375. #支付支付
  376. pay:
  377. flag: true
  378. hospital:
  379. url: https://wx.xmzsh.com
  380. mqUser: JKZL
  381. mqPwd: 123456
  382. SourceSysCode: S60
  383. TargetSysCode: S01
  384. im:
  385. im_list_get: http://172.26.0.193:3000/
  386. data_base_name: im_internet_hospital
  387. fastDFS:
  388. fastdfs_file_url: http://172.26.0.110:8888/
  389. fast-dfs:
  390. tracker-server: 172.26.0.110:22122 #服务器地址
  391. #是否开启i健康接口 0关闭,1开启
  392. testPattern:
  393. sign: 0
  394. wlyy:
  395. url: http://www.xmtyw.cn/wlyytest/
  396. wechat:
  397. id: xm_ykyy_wx # base库中,wx_wechat 的id字段 # todo 待配置
  398. flag: false #演示环境 true走Mysql数据库 false走Oracle
  399. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  400. express:
  401. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  402. sf_code: JKZL
  403. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  404. ---
  405. # sqlserverce测试环境
  406. spring:
  407. profiles: sqlServerTest
  408. datasource:
  409. driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  410. url: jdbc:sqlserver://192.168.131.125:1433;DatabaseName=base
  411. username: sa
  412. password: jkzlehr
  413. jpa:
  414. properties:
  415. hibernate:
  416. default_schema: dbo
  417. naming:
  418. physical-strategy: com.ford.configuration.UpperTableStrategy
  419. database-platform: org.hibernate.dialect.SQLServer2008Dialect
  420. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  421. demo:
  422. flag: false
  423. #支付支付
  424. pay:
  425. flag: true
  426. hospital:
  427. url: https://wx.xmzsh.com
  428. mqUser: JKZL
  429. mqPwd: 123456
  430. SourceSysCode: S60
  431. TargetSysCode: S01
  432. im:
  433. im_list_get: http://172.16.1.42:3000/
  434. data_base_name: im
  435. fastDFS:
  436. fastdfs_file_url: http://192.0.33.26:8888/
  437. fast-dfs:
  438. tracker-server: 192.168.103.159:22122 #服务器地址
  439. #是否开启i健康接口 0关闭,1开启
  440. testPattern:
  441. sign: 0
  442. wlyy:
  443. url: http://www.xmtyw.cn/wlyytest/
  444. wechat:
  445. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  446. flag: false #演示环境 true走Mysql数据库 false走Oracle
  447. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  448. express:
  449. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  450. sf_code: WH000091
  451. sf_check_word: SFAHKAOFAAITyjt7890
  452. ---
  453. # sqlserverce正式环境
  454. spring:
  455. profiles: tnJwprod
  456. datasource:
  457. driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  458. url: jdbc:sqlserver://10.9.1.246:1433;DatabaseName=ta_zyy
  459. username: sa
  460. password: jsjzx@1234
  461. jpa:
  462. properties:
  463. hibernate:
  464. default_schema: dbo
  465. naming:
  466. physical-strategy: com.ford.configuration.UpperTableStrategy
  467. database-platform: org.hibernate.dialect.SQLServer2008Dialect
  468. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  469. demo:
  470. flag: false
  471. #支付支付
  472. pay:
  473. flag: true
  474. hospital:
  475. url: https://wx.xmzsh.com
  476. mqUser: JKZL
  477. mqPwd: 123456
  478. SourceSysCode: S60
  479. TargetSysCode: S01
  480. im:
  481. im_list_get: http://172.16.1.42:3000/
  482. data_base_name: im
  483. fastDFS:
  484. fastdfs_file_url: http://192.0.33.26:8888/
  485. fast-dfs:
  486. tracker-server: 192.168.103.159:22122 #服务器地址
  487. #是否开启i健康接口 0关闭,1开启
  488. testPattern:
  489. sign: 0
  490. wlyy:
  491. url: http://www.xmtyw.cn/wlyytest/
  492. wechat:
  493. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  494. flag: false #演示环境 true走Mysql数据库 false走Oracle
  495. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  496. express:
  497. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  498. sf_code: WH000091
  499. sf_check_word: SFAHKAOFAAITyjt7890
  500. ---