liusheng
3 天以前 4b81304e73c093795ae418cfb4ce537b603660c9
ruoyi-admin/src/main/resources/application-druid.yml
@@ -6,7 +6,7 @@
    druid:
      # 主库数据源
      master:
        #    义乌二院
        #        义乌二院
        #        url: jdbc:mysql://127.0.0.1:3306/smartor?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        #        username: root
        #        password: 123456
@@ -34,7 +34,7 @@
        #        password: Hxerp2000
        #        driverClassName: com.mysql.cj.jdbc.Driver
        #  公司本地
        url: jdbc:mysql://haiershi.a1.luyouxia.net:23844/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&connectTimeout=60000&socketTimeout=120000
        username: smartor
        password: Smartor.2023
        driverClassName: com.mysql.cj.jdbc.Driver
@@ -78,7 +78,11 @@
      # 最大连接池数量
      maxActive: 20
      # 配置获取连接等待超时的时间
      maxWait: 60000
      maxWait: 120000
      # 配置连接超时时间(毫秒),防止慢查询导致连接断开
      queryTimeout: 120
      # 配置连接有效性检测超时
      validationQueryTimeout: 5
      # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
      timeBetweenEvictionRunsMillis: 60000
      # 配置一个连接在池中最小生存的时间,单位是毫秒
@@ -105,8 +109,8 @@
        stat:
          enabled: false
          # 慢SQL记录
          log-slow-sql: false
          slow-sql-millis: 1000
          log-slow-sql: true
          slow-sql-millis: 3000
          merge-sql: true
        wall:
          config:
@@ -118,7 +122,7 @@
    database: 0
    password: Smartor
    # 连接超时时间
    timeout: 10s
    timeout: 30s
    lettuce:
      pool:
        # 连接池中的最小空闲连接
@@ -148,7 +152,7 @@
# Swagger配置
swagger:
  # 是否开启swagger
  enabled: true
  enabled: false
  # 请求前缀
  pathMapping: /dev-api
@@ -215,10 +219,9 @@
#  指定asr回调的url路径(本地)
ASRCallBackPath: http://192.168.100.10:8095/smartor/serviceSubtask/phoneCallBackYQ
#挂断IP(本地)
hangup: http://192.168.100.6:8089/hangup
hangup: http://192.168.100.10:8089/hangup
#fs所使用的阿里的app_key(本地)
app_key_yq: ZurNHpaQLq6P55YS
##  指定asr回调的url路径(新华)
#ASRCallBackPath: http://192.168.101.135:8095/smartor/serviceSubtask/phoneCallBackYQ
##挂断IP(新华)
@@ -255,7 +258,7 @@
#第个小时电话拨打的上限
phoneUpEveryHour: 12
#电话每天结束时间
phoneEndHour: 20
phoneEndHour: 23
#新员工默认密码
defaultPwd: 123456
@@ -267,10 +270,12 @@
isAdmin: 1,2,3,4,5,6,7,8,9,10,11,12,13
isEncryp:
isEncryp: 0
dealDeptCode:
#文件上传地址
fileUpload:
profile:
ai_answer: http://localhost:8088/ai_answer