yeguodong 1 week ago
parent
commit
7c9eca2912
2 changed files with 65 additions and 102 deletions
  1. 64 101
      src/main/resources/application-dev.yml
  2. 1 1
      src/main/resources/application.yml

+ 64 - 101
src/main/resources/application-dev.yml

@@ -5,7 +5,7 @@ server:
   tomcat:
     accesslog:
       buffered: true
-      directory: D:/logs/thmz
+      directory: /home/logs/thmz
       enabled: true
       file-date-format: .yyyy-MM-dd
       pattern: common
@@ -14,7 +14,6 @@ server:
       request-attributes-enabled: false
       rotate: true
       suffix: .log
-    max-connections: 30000
   #项目名,如果不设定,默认是 /
   servlet:
     context-path: "/thmz"
@@ -23,17 +22,17 @@ web:
     #    path: E:/project/medical_pension/uploadroot
     path: ../uploadroot
 pay:
-  url: http://130.150.161.113:7001/pay/NongPay
+  url: http://localhost:7001/pay/NongPay
 spring:
   #jackson:
-    #date-format: "yyyy-MM-dd HH:mm:ss"
-    #设置为东八区时间
-    #timezone: GMT+8
-    #serialization:
-    #使用数值timestamp表示日期
-    #write-dates-as-timestamps: true
-    #想要值为2019-01-01
-    #write-dates-as-timestamps: false
+  #date-format: "yyyy-MM-dd HH:mm:ss"
+  #设置为东八区时间
+  #timezone: GMT+8
+  #serialization:
+  #使用数值timestamp表示日期
+  #write-dates-as-timestamps: true
+  #想要值为2019-01-01
+  #write-dates-as-timestamps: false
   servlet:
     multipart:
       #单个文件大小
@@ -42,20 +41,26 @@ spring:
       max-request-size: 1000MB
   datasource:
     his:
-      jdbc-url: "jdbc:sqlserver://localhost:1433;databaseName=hisdb"
+      jdbc-url: "jdbc:sqlserver://130.150.161.71:1433;databaseName=hisdb"
       username: "sa"
-      password: "root"
+      password: "Symhyy@123"
+      # jdbc-url: "jdbc:sqlserver://130.150.161.124:1433;databaseName=po"
+      # username: "sa"
+      # password: "root"
+      # jdbc-url: "jdbc:sqlserver://130.150.161.123:1433;databaseName=lijuSql"
+      # username: "sa"
+      # password: "root"
       driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
     durid:
       #type: com.alibaba.druid.pool.DruidDataSource
       #初始化时建立物理连接的个数。初始化发生在显示调用init方法,或者第一次getConnection时
-      initial-size: 40
+      initial-size: 50
       #最大连接池数量
-      max-active: 100
+      max-active: 120
       #最小连接池数量
-      min-idle: 40
+      min-idle: 50
       #获取连接时最大等待时间,单位毫秒
-      max-wait: 60000
+      max-wait: 80000
       #使用非公平锁。
       use-unfair-lock: true
       #用来检测连接是否有效的sql,要求是一个查询语句。
@@ -67,9 +72,9 @@ spring:
       #归还连接时执行validationQuery检测连接是否有效,
       test-on-return: false
       #Destroy线程会检测连接的间隔时间,testWhileIdle的判断依据,详细看testWhileIdle属性的说明
-      time-between-eviction-runs-millis: 60000
+      time-between-eviction-runs-millis: 80000
       #配置一个连接在池中最小生存的时间,单位是毫秒
-      min-evictable-idle-time-millis: 300000
+      min-evictable-idle-time-millis: 400000
       #监控统计用的filter:stat  日志用的filter:log4j    防御sql注入的filter:wall
       filters: stat
       #是否缓存preparedStatement,也就是PSCache,在mysql5.5以下的版本中没有PSCache功能,建议关闭掉
@@ -80,7 +85,7 @@ spring:
       remove-abandoned: true
       #数据库链接超过180秒开始关闭空闲连接 秒为单位
       remove-abandoned-timeout: 180
-      #将当前关闭动作记录到日志  此配置项会影响性能,只在排查的时候打开,系统运行时最好关闭。
+      #将当前关闭动作记录到日志
       log-abandoned: true
   autoconfigure:
     exclude:  com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 去除druid配置
@@ -94,10 +99,6 @@ spring:
   thymeleaf:
     cache: false
 
-
-
-
-
 #配置项:开启下划线到驼峰的自动转换. 作用:将数据库字段根据驼峰规则自动注入到对象属性。
 #mybatis:
 #  configuration:
@@ -111,60 +112,21 @@ logging:
   level:
     cn.hnthyy.thmz.mapper: debug
 
-#management:
-#  server:
-#    port: 9091
-#  endpoints:
-#    web:
-#      base-path: /actuator
-#      exposure:
-#        include: '*'
-#  metrics:
-#    export:
-#      simple:
-#        enabled: true
-#      jmx:
-#        enabled: true
-#      prometheus:
-#        enabled: true
-#    distribution:
-#      percentiles-histogram:
-#        http:
-#          server:
-#            requests: false
-#      minimum-expected-value:
-#        http:
-#          server:
-#            requests: 20ms
-#      maximum-expected-value:
-#        http:
-#          server:
-#            requests: 200ms
-#  endpoint:
-#    metrics:
-#      enabled: true
-#    health:
-#      show-details: always
-#      probes:
-#        enabled: true
-#    prometheus:
-#      enabled: true
-
-#企业微信消息服务地址测试环境
-serviceUrl: "http://172.16.30.26:8706/sendWxInfo/send"
 
+#企业微信消息服务地址生产环境
+serviceUrl: "http://localhost:8706/sendWxInfo/send"
 
 #卡号变更通知开关
 sendNoticeToHaiCi: true
 #就诊状态通知开关
 sendNoticeToPatient: true
 #是否修改LIS数据开关
-updateLisData: false
+updateLisData: true
 #是否加收开关
 setUnitPrice: false
 
 #江苏省卫生健康云临床检验平台
-jyYunServiceUrl: "http://20.46.201.94:9999"
+jyYunServiceUrl: "http://localhost:9999"
 
 #江苏省卫生健康云临床检验平台私钥
 jyYunSecretKey: "YXCxOq4DUMuFfFrPs9dFKXPKT0PSjWzY"
@@ -173,7 +135,7 @@ jyYunSecretKey: "YXCxOq4DUMuFfFrPs9dFKXPKT0PSjWzY"
 jyYunPublicKey: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlTvIqnaVY0pF3orpRG98Fk9XH1A4hllYS4wzKXIjqtN2pv02vVnbFSLIL6lxbgHsAXXMK02H455jqa3eO345Zd9SGx3MHWZMFzmvlgjY939SnL0onElQVrtTq6FchTHac4I/MFoHmXrgj9lh+ZTyf14kdW3g6DDtWhCfZoA50xJNosK7gcr7F2HENZ5I8HOb8kPAPz9X64eyuzGjc+cckE+9fe1JcMd9PmPfFyqdksFF4iu8ucoJ8xCE5GzOflCUzr4oGR/D73Eay4PGil3/RBoem49czUbkSWZjflEoxxzbkW32w2BIoqy2LmfGMw/3mC3ovneaKyhjiiLgtJ1qmQIDAQAB"
 
 #江苏省卫生健康云影像平台
-yxServiceUrl: "http://20.30.1.81/openapi/api/v2"
+yxServiceUrl: "http://localhost/openapi/api/v2"
 
 #江苏省卫生健康云影像平台应用编码
 yxAppKey: "1643138344449949697"
@@ -181,62 +143,63 @@ yxAppKey: "1643138344449949697"
 #江苏省卫生健康云影像平台密钥
 yxSecretKey: "7ba57d460a24588a2a9a331243b9ff0e"
 
-#海慈开放服务地址测试环境
-#haiciServiceUrl: "https://sapi.med.gzhc365.com/openapi/health"
+#海慈开放服务地址生产环境
+#haiciServiceUrl: "https://api.med.gzhc365.com/openapi/health"
+
+#泰和微信开放服务地址生产环境
+haiciServiceUrl: "https://tbd"
 
-#铭和微信开放服务地址测试环境
-haiciServiceUrl: "http://172.16.30.26:8805/wxserver"
+#泰和微信缴费服务地址生产环境
+wxPayOrderServiceUrl: "http://localhost:8706"
 
-#铭和微信缴费服务地址测试环境 8077
-wxPayOrderServiceUrl: "http://172.16.30.26:8706"
+#住院服务基础地址
+zyServiceUrl: "http://localhost:8706"
 
-#特殊门诊测试地址 8077
-tsmzServiceUrl: "http://172.16.30.26:8706/markMtFees"
+#特殊门诊生产地址
+tsmzServiceUrl: "http://localhost:8706/markMtFees"
 
-#流行病调查问卷测试地址
-lxbdcwjUrl: "http://192.168.3.20:8081/assessments/covid/"
+siInventoryServiceUrl: "http://localhost:8706/siInventory"
+#流行病调查问卷生产地址
+lxbdcwjUrl: "http://tbd"
 
 #医技预约审核驳回回调地址
-callBackYJYYUrl: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://172.16.30.26:8805/wxserver/redirect/page2?to=resignOrRefund_"
+callBackYJYYUrl: "https://tbd"
 
 #叫号通知接口地址
-notifyServiceUrl: "http://172.16.30.26:8706/triage/notify"
-#集成平台前缀 webhis.thyy.cn:8706
-jcptUrl: "http://172.16.30.119:8706/"
+notifyServiceUrl: "http://localhost:8706/triage/notify"
 
 #语音生成接口地址
-audioServiceUrl: "http://webhis.thyy.cn:8706/voice/textToSpeech"
+audioServiceUrl: "http://tbd"
+
 #化验结果接口
-soap_url: "http://172.16.32.178:622/pushservice.asmx?wsdl"
+soap_url: "http://localhost:622/pushservice.asmx?wsdl"
 
 #websocket 地址前半部分
-webSocketHost: "ws://172.16.30.119:8089/thmz/"
-
-#门诊结算单地址  http://webhis.thyy.cn:8080
-mzjsdHost: http://localhost:3000
+webSocketHost: "ws://localhost:81/thmz/"
+#门诊结算单地址
+mzjsdHost: "http://localhost:8080"
 
-#websocket 药房地址前半部分 172.16.32.161
-webSocketPrescriptionHost: "ws://172.16.30.119:9000/"
+#websocket 药房地址前半部分
+webSocketPrescriptionHost: "ws://localhost:9000/"
 
 #websocket 药房发送信息接口地址
-webSocketServiceUrl: "http://172.16.30.119:9000/api/v1/sendMessage"
+webSocketServiceUrl: "http://localhost:9000/api/v1/sendMessage"
 
 #合理用药分析接口
-rationalUseOfMedicineUrl: "http://172.16.32.121:8016/Audit.ashx"
+rationalUseOfMedicineUrl: "http://localhost:8016/Audit.ashx"
 
 #智能银行接口地址
-misPossUrl:  "http://172.16.32.201:8080/ccbmis/transaction/"
-
-#pacs检查地址
-pacsUrl: http://130.150.161.177:8099/FilmList.php
+misPossUrl: "http://localhost:8080/ccbmis/transaction/"
 
 #健康宣教
-healthEducationUrl: https://staticweb.hnthyy.cn/healthEducation
+healthEducationUrl: https://tbd
+#pacs检查地址
+pacsUrl: http://localhost:8099/FilmList.php
 #微信支付链接
-wxPayQrUrl: https://staticweb.hnthyy.cn/wxserver/redirect/guideBillScan?patNo=patientId
+wxPayQrUrl: https://tbd
 
-#调用医保药品更新最新报销比例测试地址
-hiDrugPostUrl: "http://172.16.30.26:8706/nationalMatch/queryPsnPayProp?hiListCode="
+#调用医保药品更新最新报销比例地址
+hiDrugPostUrl: "http://localhost:8706/nationalMatch/queryPsnPayProp?hiListCode="
 #( Windows配置,Linux配置 /home/thmz_system/uploadPath)
 filepath:
-  profile: D:\thmz_system\uploadPath
+  profile: /home/thmz_system/uploadPath

+ 1 - 1
src/main/resources/application.yml

@@ -1,4 +1,4 @@
 spring:
   profiles:
-#    active: prod
+#    active: dev
     active: mhyy