application.yml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  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. wechat_token: 27eb3bb24f149a7760cf1bb154b08040
  128. wechat_base_url: http%3a%2f%2fweixin.xmtyw.cn%2fwlyy-dev
  129. accId: gh_ffd64560fb21
  130. id: sd_tnzyy_wx # base库中,wx_wechat 的id字段
  131. flag: false #演示环境 true走Mysql数据库 false走Oracle
  132. im:
  133. im_list_get: http://172.26.0.105:3000/
  134. data_base_name: im_internet_hospital
  135. es:
  136. pwflag: 1 # 1需要密码,2不需要密码
  137. index:
  138. Statistics: hlw_quota_test
  139. FollowUp: wlyy_followup
  140. type:
  141. Statistics: hlw_quota_test
  142. FollowUpContent: wlyy_followup_content
  143. host: http://172.26.0.55:9000
  144. tHost: 172.26.0.55:9300
  145. clusterName: jkzl
  146. securityUser: lion:jkzlehr
  147. user: lion
  148. password: jkzlehr
  149. # 上传文件临时路径配置
  150. FileTempPath:
  151. upload_temp_path : /var/local/temp
  152. image_path : /var/local/upload/images
  153. voice_path : /var/local/upload/voice
  154. chat_file_path : /var/local/upload/chat
  155. qywx:
  156. url: 2
  157. id: 2
  158. express:
  159. sf_url: https://mrds-admin.sf-express.com:443
  160. sf_code: JKZL
  161. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  162. baiduApi:
  163. AK: 0vjnCSReegE7A47a941ohjv9a07ONiMC
  164. url: http://api.map.baidu.com/
  165. systemSetting:
  166. isApplication: 0 # 是否需要资质申请 1需要 0 不需要
  167. base:
  168. url: http://172.17.110.212:10020/
  169. hospitalUrl: http://172.26.0.107:10022/
  170. ---
  171. spring:
  172. profiles: jwtest
  173. datasource:
  174. driver-class-name: com.mysql.jdbc.Driver
  175. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  176. username: ssgg
  177. password: ssgg@jkzl2019
  178. # elasticsearch:
  179. # cluster-name: jkzl #集群名 默认elasticsearch
  180. # cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  181. # client-transport-sniff: false
  182. # jest:
  183. # uris: http://172.26.0.112:9200,http://172.26.0.112:9200
  184. # connection-timeout: 60000 # Connection timeout in milliseconds.
  185. # multi-threaded: true # Enable connection requests from multiple execution threads.
  186. activemq:
  187. broker-url: tcp://172.26.0.116:61616
  188. user: admin
  189. password: admin
  190. redis:
  191. host: 172.26.0.253 # Redis server host.
  192. port: 6379 # Redis server port.
  193. fastDFS:
  194. fastdfs_file_url: http://172.26.0.110:8888/
  195. fast-dfs:
  196. tracker-server: 172.26.0.110:22122 #服务器地址
  197. # 短信验证码发送的客户端标识,居民端
  198. sms:
  199. clientId: EwC0iRSrcP
  200. myFamily:
  201. qrCodeFailurTime: 2
  202. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  203. demo:
  204. flag: true
  205. #支付支付
  206. pay:
  207. flag: true
  208. hospital:
  209. url: https://wx.xmzsh.com
  210. mqUser: JKZL
  211. mqPwd: 123456
  212. SourceSysCode: S60
  213. TargetSysCode: S01
  214. wechat:
  215. appId: wxd03f859efdf0873d
  216. appSecret: 2935b54b53a957d9516c920a544f2537
  217. wechat_token: 27eb3bb24f149a7760cf1bb154b08040
  218. wechat_base_url: http%3a%2f%2fweixin.xmtyw.cn%2fwlyy-dev
  219. accId: gh_ffd64560fb21
  220. id: sd_tnzyy_wx # base库中,wx_wechat 的id字段
  221. flag: false #演示环境 true走Mysql数据库 false走Oracle
  222. im:
  223. im_list_get: http://172.26.0.105:3000/
  224. data_base_name: im_internet_hospital
  225. es:
  226. pwflag: 1 # 1需要密码,2不需要密码
  227. index:
  228. Statistics: hlw_quota_test
  229. FollowUp: wlyy_followup
  230. type:
  231. Statistics: hlw_quota_test
  232. FollowUpContent: wlyy_followup_content
  233. host: http://172.26.0.55:9000
  234. tHost: 172.26.0.55:9300
  235. clusterName: jkzl
  236. securityUser: lion:jkzlehr
  237. user: lion
  238. password: jkzlehr
  239. # 上传文件临时路径配置
  240. FileTempPath:
  241. upload_temp_path : /var/local/temp
  242. image_path : /var/local/upload/images
  243. voice_path : /var/local/upload/voice
  244. chat_file_path : /var/local/upload/chat
  245. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  246. testPattern:
  247. sign: 0
  248. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  249. wlyy:
  250. url: http://ehr.yihu.com/wlyy/
  251. qywx:
  252. url: 2
  253. id: 1
  254. express:
  255. sf_url: http://mrds-admin-ci.sit.sf-express.com:45478
  256. sf_code: HD000001
  257. sf_check_word: AAAABBBBCCCCDDDD
  258. baiduApi:
  259. AK: 0vjnCSReegE7A47a941ohjv9a07ONiMC
  260. url: http://api.map.baidu.com/
  261. # 系统配置
  262. systemSetting:
  263. isApplication: 0 # 是否需要资质申请 1需要 0 不需要
  264. base:
  265. url: http://172.17.110.212:10020/
  266. hospitalUrl: http://172.26.0.107:10022/
  267. ---
  268. spring:
  269. profiles: jwprod
  270. datasource:
  271. driver-class-name: com.mysql.jdbc.Driver
  272. url: jdbc:mysql://172.16.1.42:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  273. username: im
  274. password: 2oEq3Kf7
  275. # elasticsearch:
  276. # cluster-name: jkzl #集群名 默认elasticsearch
  277. # cluster-nodes: 192.0.33.26:9200 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  278. # client-transport-sniff: false
  279. # jest:
  280. # uris: http://192.0.33.26:9300
  281. # connection-timeout: 60000 # Connection timeout in milliseconds.
  282. # multi-threaded: true # Enable connection requests from multiple execution threads.
  283. activemq:
  284. broker-url: tcp://59.61.92.90:9103
  285. user: jkzl
  286. password: jkzlehr
  287. redis:
  288. host: 192.0.33.26 # Redis server host.
  289. port: 6390 # Redis server port.
  290. password: Kb6wKDQP1W4
  291. fastDFS:
  292. fastdfs_file_url: https://hlwyy.xmzsh.com/fastdfs/
  293. fast-dfs:
  294. tracker-server: 192.0.33.26:22122 #服务器地址
  295. # 短信验证码发送的客户端标识,居民端
  296. sms:
  297. clientId: EwC0iRSrcP #todo 待配置
  298. myFamily:
  299. qrCodeFailurTime: 2
  300. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  301. demo:
  302. flag: true
  303. #支付支付
  304. pay:
  305. flag: true
  306. hospital:
  307. url: https://wx.xmzsh.com
  308. mqUser: JKZL
  309. mqPwd: 123456
  310. SourceSysCode: S60
  311. TargetSysCode: S01
  312. wechat:
  313. appId: wxd03f859efdf0873d
  314. appSecret: 2935b54b53a957d9516c920a544f2537
  315. wechat_token: 27eb3bb24f149a7760cf1bb154b08040
  316. wechat_base_url: http%3a%2f%2fweixin.xmtyw.cn%2fwlyy-dev
  317. accId: gh_ffd64560fb21
  318. id: sd_tnzyy_wx # base库中,wx_wechat 的id字段
  319. flag: false #演示环境 true走Mysql数据库 false走Oracle
  320. im:
  321. im_list_get: http://172.26.0.105:3000/
  322. data_base_name: im_internet_hospital
  323. es:
  324. pwflag: 1 # 1需要密码,2不需要密码
  325. index:
  326. Statistics: hlw_quota_test
  327. FollowUp: wlyy_followup
  328. type:
  329. Statistics: hlw_quota_test
  330. FollowUpContent: wlyy_followup_content
  331. host: http://172.26.0.55:9000
  332. tHost: 172.26.0.55:9300
  333. clusterName: jkzl
  334. securityUser: lion:jkzlehr
  335. user: lion
  336. password: jkzlehr
  337. # 上传文件临时路径配置
  338. FileTempPath:
  339. upload_temp_path : /var/local/temp
  340. image_path : /var/local/upload/images
  341. voice_path : /var/local/upload/voice
  342. chat_file_path : /var/local/upload/chat
  343. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  344. testPattern:
  345. sign: 0
  346. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  347. wlyy:
  348. url: http://www.xmtyw.cn/wlyytest/
  349. qywx:
  350. url: https://hlwyy.xmzsh.com/hlwyy
  351. id: zsyy
  352. express:
  353. sf_url: https://mrds-admin.sf-express.com:443
  354. sf_code: WH000102
  355. sf_check_word: TGUQASFNAZyjt9112
  356. baiduApi:
  357. AK: 0vjnCSReegE7A47a941ohjv9a07ONiMC
  358. url: http://api.map.baidu.com/
  359. # 系统配置
  360. systemSetting:
  361. isApplication: 0 # 是否需要资质申请 1需要 0 不需要
  362. base:
  363. url: http://172.17.110.212:10020/
  364. hospitalUrl: http://172.26.0.107:10022/