application.yml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  1. #通用的配置不用区分环境变量
  2. server:
  3. port: 10030
  4. spring:
  5. datasource:
  6. driver-class-name: com.mysql.jdbc.Driver
  7. max-active: 50
  8. max-idle: 50 #最大空闲连接
  9. min-idle: 10 #最小空闲连接
  10. validation-query-timeout: 20
  11. log-validation-errors: true
  12. validation-interval: 60000 #避免过度验证,保证验证不超过这个频率——以毫秒为单位。如果一个连接应该被验证,但上次验证未达到指定间隔,将不再次验证。
  13. validation-query: SELECT 1 #SQL 查询, 用来验证从连接池取出的连接, 在将连接返回给调用者之前。 如果指定, 则查询必须是一个SQL SELECT 并且必须返回至少一行记录
  14. test-on-borrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
  15. test-on-return: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
  16. idle-timeout: 30000
  17. connection-test-query: SELECT 1
  18. num-tests-per-eviction-run: 50 #在每次空闲连接回收器线程(如果有)运行时检查的连接数量,最好和maxActive
  19. test-while-idle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
  20. min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
  21. time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
  22. fast-dfs:
  23. tracker-server: 172.26.0.110:22122 #服务器地址
  24. connect-timeout: 2 #链接超时时间
  25. network-timeout: 30
  26. charset: ISO8859-1 #编码
  27. http:
  28. tracker-http-port: 80
  29. anti-steal-token: no
  30. secret-key: FastDFS1234567890
  31. pool: #连接池大小
  32. init-size: 5
  33. max-size: 20
  34. wait-time: 500
  35. configDefault: # 默认配置
  36. saasId: xmjkzl_saasId
  37. quartz:
  38. name: schedulerFactoryBean
  39. # 上传文件临时路径配置
  40. FileTempPath:
  41. upload_temp_path : /var/local/temp
  42. image_path : /var/local/upload/images
  43. voice_path : /var/local/upload/voice
  44. chat_file_path : /var/local/upload/chat
  45. #发现服务
  46. #eureka:
  47. # client:
  48. # healthcheck:
  49. # enabled: true #监控检查
  50. # serviceUrl:
  51. # defaultZone: http://172.16.100.63:8761/eureka/
  52. # instance:
  53. # prefer-ip-address: false
  54. # instance-id: ${spring.cloud.client.ipAddress}:${server.port}
  55. ---
  56. spring:
  57. profiles: jwdev
  58. datasource:
  59. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  60. username: ssgg
  61. password: ssgg@jkzl2019
  62. hlwyyEntrance:
  63. url: http://localhost:10023
  64. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  65. demo:
  66. flag: true
  67. #支付支付
  68. pay:
  69. flag: true
  70. hospital:
  71. url: https://wx.xmzsh.com
  72. mqUser: JKZL
  73. mqPwd: 123456
  74. SourceSysCode: S60
  75. TargetSysCode: S01
  76. im:
  77. im_list_get: http://172.26.0.105:3000/
  78. data_base_name: im_internet_hospital
  79. fastDFS:
  80. fastdfs_file_url: http://172.26.0.110:8888/
  81. wechat:
  82. id: d24d1367-7f4f-43af-910e-a0a43799e040 # base库中,wx_wechat 的id字段
  83. flag: false #演示环境 true走Mysql数据库 false走Oracle
  84. express:
  85. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  86. sf_code: JKZL
  87. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  88. ---
  89. spring:
  90. profiles: jwtest
  91. datasource:
  92. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  93. username: ssgg
  94. password: ssgg@jkzl2019
  95. hlwyyEntrance:
  96. url: http://localhost:10023
  97. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  98. demo:
  99. flag: true
  100. #支付支付
  101. pay:
  102. flag: true
  103. hospital:
  104. url: https://wx.xmzsh.com
  105. mqUser: JKZL
  106. mqPwd: 123456
  107. SourceSysCode: S60
  108. TargetSysCode: S01
  109. im:
  110. im_list_get: http://172.26.0.105:3000/
  111. data_base_name: im_internet_hospital
  112. fastDFS:
  113. fastdfs_file_url: http://172.26.0.110:8888/
  114. wlyy:
  115. url: http://www.xmtyw.cn/wlyytest/
  116. wechat:
  117. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  118. flag: false #演示环境 true走Mysql数据库 false走Oracle
  119. ids: xm_zsyy_wx
  120. express:
  121. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  122. sf_code: JKZL
  123. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  124. jobs:
  125. schedule: 0 */1 * * * ?
  126. ---
  127. spring:
  128. profiles: jwOracleTest
  129. datasource:
  130. driver-class-name: oracle.jdbc.driver.OracleDriver
  131. url: jdbc:oracle:thin:@172.26.0.141:1521:helowin
  132. username: normal
  133. password: normal
  134. jpa:
  135. properties:
  136. hibernate:
  137. dialect: org.hibernate.dialect.Oracle10gDialect
  138. show_sql: true
  139. database: oracle
  140. hlwyyEntrance:
  141. url: http://172.16.1.42:10023
  142. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  143. demo:
  144. flag: false
  145. #支付支付
  146. pay:
  147. flag: true
  148. hospital:
  149. url: https://wx.xmzsh.com
  150. mqUser: JKZL
  151. mqPwd: 123456
  152. SourceSysCode: S60
  153. TargetSysCode: S01
  154. im:
  155. im_list_get: http://172.26.0.105:3000/
  156. data_base_name: im_internet_hospital
  157. fastDFS:
  158. fastdfs_file_url: http://172.26.0.110:8888/
  159. wlyy:
  160. url: http://www.xmtyw.cn/wlyytest/
  161. wechat:
  162. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  163. flag: false #演示环境 true走Mysql数据库 false走Oracle
  164. express:
  165. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  166. sf_code: WH000091
  167. sf_check_word: SFAHKAOFAAITyjt7890
  168. ---
  169. spring:
  170. profiles: jwOracleProd
  171. datasource:
  172. driver-class-name: oracle.jdbc.driver.OracleDriver
  173. url: jdbc:oracle:thin:@10.10.10.16:1521/rac
  174. username: HLWYY
  175. password: Xmykzxhlwyy963
  176. jpa:
  177. properties:
  178. hibernate:
  179. dialect: org.hibernate.dialect.Oracle10gDialect
  180. show_sql: true
  181. database: oracle
  182. hlwyyEntrance:
  183. url: http://172.16.1.42:10023
  184. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  185. demo:
  186. flag: false
  187. #支付支付
  188. pay:
  189. flag: true
  190. hospital:
  191. url: https://wx.xmzsh.com
  192. mqUser: JKZL
  193. mqPwd: 123456
  194. SourceSysCode: S60
  195. TargetSysCode: S01
  196. im:
  197. im_list_get: http://192.168.33.197:3000/
  198. data_base_name: im_internet_hospital
  199. fastDFS:
  200. fastdfs_file_url: http://172.26.0.110:8888/
  201. wlyy:
  202. url: http://www.xmtyw.cn/wlyytest/
  203. wechat:
  204. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  205. ids: xm_ykyy_wx
  206. flag: false #演示环境 true走Mysql数据库 false走Oracle
  207. express:
  208. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  209. sf_code: JKZL
  210. sf_check_word: SFAHKAOFAAITyjt7890
  211. ---
  212. spring:
  213. profiles: jwprod
  214. datasource:
  215. url: jdbc:mysql://172.16.1.42:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false #jdbc:mysql://192.0.33.27:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  216. username: im
  217. password: 2oEq3Kf7
  218. hlwyyEntrance:
  219. url: http://172.16.1.42:10023
  220. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  221. demo:
  222. flag: false
  223. #支付支付
  224. pay:
  225. flag: true
  226. hospital:
  227. url: https://wx.xmzsh.com #https://172.16.1.34
  228. mqUser: JKZL
  229. mqPwd: 123456
  230. SourceSysCode: S60
  231. TargetSysCode: S01
  232. im:
  233. im_list_get: http://172.16.1.42:3000/
  234. data_base_name: im
  235. fastDFS:
  236. fastdfs_file_url: http://192.0.33.26:8888/
  237. wlyy:
  238. url: http://www.xmtyw.cn/wlyytest/
  239. wechat:
  240. id: d24d1367-7f4f-43af-910e-a0a43799e040 # base库中,wx_wechat 的id字段
  241. flag: false #演示环境 true走Mysql数据库 false走Oracle
  242. ids: xm_zsyy_wx
  243. express:
  244. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  245. sf_code: WH000091
  246. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  247. jobs:
  248. schedule: 0 */30 * * * ?
  249. ---
  250. spring:
  251. profiles: xzprod
  252. datasource:
  253. url: jdbc:mysql://172.16.100.240:7306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  254. username: jkzl
  255. password: jkzl@2020
  256. hlwyyEntrance:
  257. url: http://172.16.100.63:10023
  258. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  259. demo:
  260. flag: false
  261. #支付支付
  262. pay:
  263. flag: true
  264. hospital:
  265. url: https://wx.xmzsh.com
  266. mqUser: JKZL
  267. mqPwd: 123456
  268. SourceSysCode: S60
  269. TargetSysCode: S01
  270. im:
  271. im_list_get: http://172.16.100.65:3000/
  272. # im_list_get: http://172.16.100.241:3000/
  273. data_base_name: im
  274. fastDFS:
  275. fastdfs_file_url: http://172.16.100.240:8888/
  276. wlyy:
  277. url: http://www.xmtyw.cn/wlyytest/
  278. wechat:
  279. id: d24d1367-7f4f-43af-910e-a0a43799e040 # base库中,wx_wechat 的id字段
  280. flag: false #演示环境 true走Mysql数据库 false走Oracle
  281. ids: xm_xzzx_wx
  282. express:
  283. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  284. sf_code:
  285. sf_check_word:
  286. jobs:
  287. schedule: 0 */30 * * * ?
  288. ---
  289. spring:
  290. profiles: xzprod_in
  291. datasource:
  292. url: jdbc:mysql://192.168.103.155:7306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  293. username: jkzl
  294. password: jkzl@2020
  295. hlwyyEntrance:
  296. url: http://192.168.103.150:10023
  297. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  298. demo:
  299. flag: false
  300. #支付支付
  301. pay:
  302. flag: true
  303. hospital:
  304. url: https://wx.xmzsh.com
  305. mqUser: JKZL
  306. mqPwd: 123456
  307. SourceSysCode: S60
  308. TargetSysCode: S01
  309. im:
  310. im_list_get: http://192.168.103.150:3000/
  311. data_base_name: im
  312. fastDFS:
  313. fastdfs_file_url: http://192.168.103.159:8888/
  314. wlyy:
  315. url: http://www.xmtyw.cn/wlyytest/
  316. wechat:
  317. id: d24d1367-7f4f-43af-910e-a0a43799e040 # base库中,wx_wechat 的id字段
  318. flag: false #演示环境 true走Mysql数据库 false走Oracle
  319. ids: xm_xzzx_wx
  320. express:
  321. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  322. sf_code:
  323. sf_check_word:
  324. ---
  325. spring:
  326. profiles: tnJwprod
  327. datasource:
  328. url: jdbc:mysql://10.9.1.247:3310/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false #jdbc:mysql://192.0.33.27:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  329. username: wlyy
  330. password: qY#j2n5O
  331. hlwyyEntrance:
  332. url: http://172.16.1.42:10023
  333. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  334. demo:
  335. flag: false
  336. #支付支付
  337. pay:
  338. flag: true
  339. hospital:
  340. url: https://wx.xmzsh.com #https://172.16.1.34
  341. mqUser: JKZL
  342. mqPwd: 123456
  343. SourceSysCode: S60
  344. TargetSysCode: S01
  345. im:
  346. im_list_get: http://10.9.1.247:3000/
  347. data_base_name: im
  348. fastDFS:
  349. fastdfs_file_url: http://10.9.1.247:8888/
  350. wlyy:
  351. url: http://www.xmtyw.cn/wlyytest/
  352. wechat:
  353. id: d24d1367-7f4f-43af-910e-a0a43799e040 # base库中,wx_wechat 的id字段
  354. flag: false #演示环境 true走Mysql数据库 false走Oracle
  355. ids: sd_tnzyy_wx
  356. express:
  357. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  358. sf_code: WH000091
  359. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  360. jobs:
  361. schedule: 0 */30 * * * ?