liusheng
6 天以前 b17665b2645701d6eea22ab9d4662b76c97dd6e3
ruoyi-admin/src/main/resources/application-druid.yml
@@ -28,16 +28,20 @@
        #        password: Smartor.2023
        #        driverClassName: com.mysql.cj.jdbc.Driver
        #        #  公司云
        #        url: jdbc:mysql://116.62.18.175:6002/smartor_lisui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        #  公司云
        #        url: jdbc:mysql://116.62.18.175:6002/smartor_lishui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        #        username: hxsoft
        #        password: Hxerp2000
        #        password: Smartor.2023
        #        driverClassName: com.mysql.cj.jdbc.Driver
        #  公司本地
        url: jdbc:mysql://192.168.100.10:3306/smartor_lishui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://haiershi.a1.luyouxia.net:23844/smartor_lishui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: smartor
        password: Smartor.2023
        driverClassName: com.mysql.cj.jdbc.Driver
      #        url: jdbc:mysql://127.0.0.1:2881/smartor-lisui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
      #        username: root@sys
      #        password:
      #        driverClassName: com.mysql.cj.jdbc.Driver
      #        # 高斯数据库配置
      #        url: jdbc:postgresql://127.0.0.1:5432/smartorlishui
@@ -47,12 +51,22 @@
      # 从库数据源
      slave:
        enabled: true
        url: jdbc:oracle:thin:@//192.200.85.40:1521/hzsyhis
        username: wssf
        password: Hzsywssf
        driver-class-name: oracle.jdbc.OracleDriver
      #        enabled: true
      #        url: jdbc:mysql://192.168.100.10:3306/emr?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
      #        username: smartor
      #        password: Smartor.2023
      #        driverClassName: com.mysql.cj.jdbc.Driver
      # 从数据源开关/默认关闭(公司)
      # enabled: true
      # url: jdbc:sqlserver://116.62.18.175:6001;DatabaseName=iv-ywey;encrypt=false;SelectMethod=cursor
      # username: sa
      # password: Hxerp2000
      # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
      #       enabled: true
      #       url: jdbc:sqlserver://116.62.18.175:6001;DatabaseName=iv-ywey;encrypt=false;SelectMethod=cursor
      #       username: sa
      #       password: Hxerp2000
      #       driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
      # 从数据源开关/默认关闭(义乌二院)
      # enabled: true
@@ -76,8 +90,8 @@
      # 配置一个连接在池中最大生存的时间,单位是毫秒
      maxEvictableIdleTimeMillis: 900000
      # 配置检测连接是否有效
      #      validationQuery: SELECT 1 FROM DUAL
      validationQuery: SELECT 1
      validationQuery: SELECT 1 FROM DUAL
      #validationQuery: SELECT 1
      testWhileIdle: true
      testOnBorrow: false
      testOnReturn: false
@@ -105,10 +119,7 @@
  redis:
    host: 127.0.0.1
    port: 6020
    # 数据库索引
    database: 0
    # 密码
    password: Smartor
    # 连接超时时间
    timeout: 10s
@@ -133,6 +144,7 @@
  sql-column-case: camel
  show-sql: true #配置打印SQL
  page-config:
    enabled: false  #禁用分页
    size: size
    page: page
    default-page: 1
@@ -149,25 +161,6 @@
dingAppid: dingn8iip5ubj7clrrsv
dingAppSecret: qlEK8D3oOVwGPOTiBQIBYTqQVlAfy9S_qQizEQFjJdSScwemWFryg4gbneu-NqWD
# 河南SSO配置(丽水用不到)
sso:
  enabled: true
  client_id: "mbglxt"  # 信通院提供
  client_secret: "mbglxt"  # 信通院提供
  # 内网配置
  internal:
    authorize_url: "http://10.10.13.112:37727/connect/authorize"
    token_url: "http://10.10.13.112:37727/connect/token"
    userinfo_url: "http://10.10.13.112:37727/connect/userinfo"
    redirect_uri: "http://10.10.13.142:8096/sso/callback"
  # 外网配置
  external:
    authorize_url: "http://172.20.111.142:37727/connect/authorize"
    token_url: "http://172.20.111.142:37727/connect/token"
    userinfo_url: "http://172.20.111.142:37727/connect/userinfo"
    redirect_uri: "http://172.20.111.142:8096/sso/callback"
  state: "smartor"  # 你们系统标识
  scope: "openid roles profile"
# websocket超时时间
server:
@@ -214,9 +207,9 @@
#新华医院外链请求IP和端口号
req_path: 8093
#localIP: https://wx.lihusmart.com
localIP: https://wx.lihusmart.com
#丽水外链请求IP和端口号
localIP: http://221.12.19.26
#localIP: http://221.12.19.26
#获取患者信息URL(华卓提供)
hosp_info_url: http://esb-core-rest.wowjoy.cn/esb/exchange
@@ -225,9 +218,9 @@
uploadSwitch: 0
#  指定asr回调的url路径(本地)
ASRCallBackPath: http://192.168.100.10:8095/smartor/serviceSubtask/phoneCallBackYQ
ASRCallBackPath: http://192.168.100.127:8095/smartor/serviceSubtask/phoneCallBackYQ
#挂断IP(本地)
hangup: http://192.168.100.6:8089/hangup
hangup: http://192.168.100.33:5060/hangup
#fs所使用的阿里的app_key(本地)
app_key_yq: ZurNHpaQLq6P55YS
@@ -241,11 +234,11 @@
#本 地 短信请求地址(这个服务是我们自己写的)
#xhsmsPath: http://192.168.2.13:8092/sendSms
#新华短信请求地址(这个服务是我们自己写的)
xhsmsPath: http://192.16.4.220:8092/sendSms
xhsmsPath: http://121.41.98.232:8001/sms/api/sendMessageMass
#帐号
xhsmsAccount: 911124
xhsmsAccount: 300044
#接口密码
xhsmsPwd: zW5eXe
xhsmsPwd: qj0NHDegxWhj
#虚拟接入码
xhsmsjrm: 1069055
@@ -279,4 +272,11 @@
isAdmin: 1,2,3,4,5,6,7,8,9,10,11,12,13
#随访医院:1新华   2丽水
visitHosp: 2
visitHosp: 1
isEncryp:
dealDeptCode:
# 前端ip
qdip: 192.168.100.132