application.yml 11 KB

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