zdm 5 years ago
parent
commit
7365627aec

+ 21 - 0
svr/svr-internet-hospital-entrance/pom.xml

@ -170,6 +170,27 @@
                </configuration>
            </plugin>
        </plugins>
        <resources>
            <resource>
                <directory>src</directory>
                <!-- 此配置不可缺,否则mybatis的Mapper.xml将会丢失 -->
                <includes>
                    <include>**/*.xml</include>
                </includes>
            </resource>
            <!--指定资源的位置-->
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>**/*.yml</include>
                    <include>**/*.html</include>
                    <include>**/*.xml</include>
                    <include>**/*.properties</include>
                </includes>
            </resource>
        </resources>
    </build>
</project>

+ 30 - 65
svr/svr-internet-hospital-entrance/src/main/resources/application.yml

@ -21,41 +21,6 @@ spring:
    min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
    time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
#  http:
#    multipart:
#      max-file-size: 5MB
#      location: D:/work/soft_dev/IdeaWorkSpace/wlyy2.0/svr/svr-patient/temp_file/
#      resolve-lazily: true
  redis:
    database: 0 # Database index used by the connection factory.
    password: # Login password of the redis server.
    timeout: 120000 # 连接超时时间(毫秒) 60秒
    pool:
      max-active: 20 # 连接池最大连接数(使用负值表示没有限制)
      max-wait: -1  # 连接池最大阻塞等待时间(使用负值表示没有限制)
      max-idle: 20  # 连接池中的最大空闲连接
      min-idle: 5  # 连接池中的最小空闲连接
  mail:
    default-encoding: UTF-8
#端口
    port: 25
#协议
    protocol: smtp
    properties.mail.smtp.auth: true
    properties.mail.smtp.starttls.enable: true
    properties.mail.smtp.starttls.required: true
    host: smtp.163.com
#发送者的邮箱密码
    password: xmijk181016jkzl
#发送者的邮箱账号
    username: i_jiankang@163.com
es:
  index:
    servicePackLog: base_service_package_log
  type:
    servicePackLog: base_service_package_log
fast-dfs:
  tracker-server: 172.26.0.110:22122 #服务器地址
  connect-timeout: 2 #链接超时时间
@ -80,39 +45,39 @@ spring:
#    username: ssgg
#    password: ssgg
    url: jdbc:mysql://172.26.0.114/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
    username: root
    password: jkzlehr
  elasticsearch:
    cluster-name: jkzl #集群名 默认elasticsearch
    cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
    client-transport-sniff: false
    jest:
      uris: http://172.26.0.112:9200,http://172.26.0.112:9200
      connection-timeout: 60000 # Connection timeout in milliseconds.
      multi-threaded: true # Enable connection requests from multiple execution threads.
  activemq:
    broker-url: tcp://172.26.0.116:61616
    user: admin
    password: admin
  redis:
    host: 172.26.0.253 # Redis server host.
    port: 6379 # Redis server port.
    username: ssgg
    password: ssgg@jkzl2019
#  elasticsearch:
#    cluster-name: jkzl #集群名 默认elasticsearch
#    cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
#    client-transport-sniff: false
#    jest:
#      uris: http://172.26.0.112:9200,http://172.26.0.112:9200
#      connection-timeout: 60000 # Connection timeout in milliseconds.
#      multi-threaded: true # Enable connection requests from multiple execution threads.
#  activemq:
#    broker-url: tcp://172.26.0.116:61616
#    user: admin
#    password: admin
#  redis:
#    host: 172.26.0.253 # Redis server host.
#    port: 6379 # Redis server port.
#    password: jkzl_ehr
#  zipkin:
#    base-url: http://localhost:9411 #日志追踪的地址
fastDFS:
  fastdfs_file_url: http://172.26.0.110:22122/
# 短信发送地址
jw:
  smsUrl: http://svr-base:10020/sms_gateway/send
myFamily:
  qrCodeFailurTime: 2
wechat:
  id: d24d1367-7f4f-43af-910e-a0a43799e040  # base库中,wx_wechat 的id字段
# 短信验证码发送的客户端标识,居民端
sms:
  clientId: EwC0iRSrcP
#
#fastDFS:
#  fastdfs_file_url: http://172.26.0.110:22122/
## 短信发送地址
#jw:
#  smsUrl: http://svr-base:10020/sms_gateway/send
#myFamily:
#  qrCodeFailurTime: 2
#wechat:
#  id: d24d1367-7f4f-43af-910e-a0a43799e040  # base库中,wx_wechat 的id字段
## 短信验证码发送的客户端标识,居民端
#sms:
#  clientId: EwC0iRSrcP
---
spring:
  profiles: jwtest

+ 15 - 11
svr/svr-internet-hospital-entrance/src/mqConfig/esbmq-config.xml

@ -23,25 +23,29 @@
			 	<BS10002_0>EwellQ.S06.BS10002.PUT</BS10002_0>
			 	<BS10002_1>EwellQ.S06.BS10002.GET</BS10002_1>
			 	<BS10002_2>EwellQ.S06.BS10002.XXX</BS10002_2>
				<BS15017_1>EwellQ.S60.BS15017.GET</BS15017_1>
				<BS15017_2>EwellQ.S60.BS15017.PUT</BS15017_2>
			 	<COLLECT>EQ.S06.PUBLIC.COLLECT</COLLECT>
			</QUEUES>
		</QMGR.S06>
		<!-- 队列管理器配置2,需要连接多个队列管理器时启用-->
		<QMGR.SXX>
			<HOSTNAME>169.254.130.203</HOSTNAME>
			<PORT>5006</PORT>
			<QUEUEMANAGER>QMGR.S0X</QUEUEMANAGER>
			<CHANNEL>C.S0X.C</CHANNEL>
		<QMGR.S60>
			<HOSTNAME>192.10.33.116</HOSTNAME>
			<PORT>1560</PORT>
			<QUEUEMANAGER>QMGR.S60</QUEUEMANAGER>
			<CHANNEL> C.S60.C</CHANNEL>
			<CCSID>1381</CCSID>
			<CHARSET>1392</CHARSET>
			<FILEPATH>D:\test</FILEPATH>
			<QUEUES>
				<BS10001_0>EwellQ.S0X.BS10001.PUT</BS10001_0>
			 	<BS10001_1>EwellQ.S0X.BS10001.GET</BS10001_1>
			 	<BS10002_0>EwellQ.S0X.BS10002.PUT</BS10002_0>
			 	<BS10002_1>EwellQ.S0X.BS10002.GET</BS10002_1>
			 	<BS10002_2>EwellQ.S0X.BS10002.XXX</BS10002_2>
				<BS10001_0>EwellQ.S60.BS10001.PUT</BS10001_0>
			 	<BS10001_1>EwellQ.S60.BS10001.GET</BS10001_1>
			 	<BS10002_0>EwellQ.S60.BS10002.PUT</BS10002_0>
			 	<BS10002_1>EwellQ.S60.BS10002.GET</BS10002_1>
			 	<BS10002_2>EwellQ.S60.BS10002.XXX</BS10002_2>
				<BS15017_1>EwellQ.S60.BS15017.GET</BS15017_1>
				<BS15017_2>EwellQ.S60.BS15017.PUT</BS15017_2>
			</QUEUES>
		</QMGR.SXX>
		</QMGR.S60>
	</MQCONFIG>
</EWELL>