|
|
@@ -1,89 +1,55 @@
|
|
|
# 数据源配置
|
|
|
spring:
|
|
|
datasource:
|
|
|
- #配置hikari连接池
|
|
|
- hikari:
|
|
|
- minimum-idle: 10
|
|
|
- maximum-pool-size: 20
|
|
|
- connection-timeout: 10000
|
|
|
- idle-timeout: 30000
|
|
|
- connection-init-sql: set names utf8mb4
|
|
|
- #动态数据源配置
|
|
|
- dynamic:
|
|
|
- primary: slave #设置默认的数据源或者数据源组,默认值即为master
|
|
|
- strict: false #设置严格模式,默认false不启动. 启动后在未匹配到指定数据源时候会抛出异常,不启动则使用默认数据源.
|
|
|
- datasource:
|
|
|
- #数据源
|
|
|
- master:
|
|
|
- driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- url: jdbc:mysql://rm-wz950fu2v70864v85.mysql.rds.aliyuncs.com/zz_edu_saas_top?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
|
|
- username: root
|
|
|
- password: gdxy2021!@#zzjykj
|
|
|
- #数据源
|
|
|
- slave:
|
|
|
- driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- url: jdbc:mysql://rm-wz950fu2v70864v85.mysql.rds.aliyuncs.com/zz_edu_saas?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
|
|
- username: root
|
|
|
- password: gdxy2021!@#zzjykj
|
|
|
-# datasource:
|
|
|
-# type: com.alibaba.druid.pool.DruidDataSource
|
|
|
-# driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
-# druid:
|
|
|
-# # 主库数据源
|
|
|
-# master:
|
|
|
-# url: jdbc:mysql://rm-wz950fu2v70864v85.mysql.rds.aliyuncs.com/zz_edu_saas?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
|
|
-# username: root
|
|
|
-# password: gdxy2021!@#zzjykj
|
|
|
-# # 从库数据源
|
|
|
-# slave:
|
|
|
-# # 从数据源开关/默认关闭
|
|
|
-# enabled: false
|
|
|
-# url:
|
|
|
-# username:
|
|
|
-# password:
|
|
|
-# # 初始连接数
|
|
|
-# initialSize: 5
|
|
|
-# # 最小连接池数量
|
|
|
-# minIdle: 10
|
|
|
-# # 最大连接池数量
|
|
|
-# maxActive: 20
|
|
|
-# # 配置获取连接等待超时的时间
|
|
|
-# maxWait: 60000
|
|
|
-# # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
|
-# timeBetweenEvictionRunsMillis: 60000
|
|
|
-# # 配置一个连接在池中最小生存的时间,单位是毫秒
|
|
|
-# minEvictableIdleTimeMillis: 300000
|
|
|
-# # 配置一个连接在池中最大生存的时间,单位是毫秒
|
|
|
-# maxEvictableIdleTimeMillis: 900000
|
|
|
-# # 配置检测连接是否有效
|
|
|
-# validationQuery: SELECT 1 FROM DUAL
|
|
|
-# testWhileIdle: true
|
|
|
-# testOnBorrow: false
|
|
|
-# testOnReturn: false
|
|
|
-# webStatFilter:
|
|
|
-# enabled: true
|
|
|
-# statViewServlet:
|
|
|
-# enabled: true
|
|
|
-# # 设置白名单,不填则允许所有访问
|
|
|
-# allow:
|
|
|
-# url-pattern: /druid/*
|
|
|
-# # 控制台管理用户名和密码
|
|
|
-# login-username: ruoyi
|
|
|
-# login-password: 123456
|
|
|
-# filter:
|
|
|
-# stat:
|
|
|
-# enabled: true
|
|
|
-# # 慢SQL记录
|
|
|
-# log-slow-sql: true
|
|
|
-# slow-sql-millis: 4000
|
|
|
-# merge-sql: true
|
|
|
-# wall:
|
|
|
-# config:
|
|
|
-# multi-statement-allow: true
|
|
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
+ driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
+ druid:
|
|
|
+ url: jdbc:mysql://39.108.7.155:3306/zz_edu_data_dev?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
|
|
+ username: root
|
|
|
+ password: gdxy2023#@#zzkj
|
|
|
+ # 初始连接数
|
|
|
+ initialSize: 5
|
|
|
+ # 最小连接池数量
|
|
|
+ minIdle: 10
|
|
|
+ # 最大连接池数量
|
|
|
+ maxActive: 20
|
|
|
+ # 配置获取连接等待超时的时间
|
|
|
+ maxWait: 60000
|
|
|
+ # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
|
+ timeBetweenEvictionRunsMillis: 60000
|
|
|
+ # 配置一个连接在池中最小生存的时间,单位是毫秒
|
|
|
+ minEvictableIdleTimeMillis: 300000
|
|
|
+ # 配置一个连接在池中最大生存的时间,单位是毫秒
|
|
|
+ maxEvictableIdleTimeMillis: 900000
|
|
|
+ # 配置检测连接是否有效
|
|
|
+ validationQuery: SELECT 1 FROM DUAL
|
|
|
+ testWhileIdle: true
|
|
|
+ testOnBorrow: false
|
|
|
+ testOnReturn: false
|
|
|
+ webStatFilter:
|
|
|
+ enabled: true
|
|
|
+ statViewServlet:
|
|
|
+ enabled: true
|
|
|
+ # 设置白名单,不填则允许所有访问
|
|
|
+ allow:
|
|
|
+ url-pattern: /druid/*
|
|
|
+ # 控制台管理用户名和密码
|
|
|
+ login-username: ruoyi
|
|
|
+ login-password: 123456
|
|
|
+ filter:
|
|
|
+ stat:
|
|
|
+ enabled: true
|
|
|
+ # 慢SQL记录
|
|
|
+ log-slow-sql: true
|
|
|
+ slow-sql-millis: 1000
|
|
|
+ merge-sql: true
|
|
|
+ wall:
|
|
|
+ config:
|
|
|
+ multi-statement-allow: true
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: 172.18.19.227
|
|
|
+ host: 192.168.1.222
|
|
|
# 端口,默认为6379
|
|
|
port: 6379
|
|
|
# 数据库索引
|
|
|
@@ -104,14 +70,14 @@ spring:
|
|
|
max-wait: -1ms
|
|
|
aliyun:
|
|
|
oss:
|
|
|
- endpoint: https://file.xyyxt.net # oss对外服务的访问域名
|
|
|
+ endpoint: https://file-dev.xyyxt.net # oss对外服务的访问域名
|
|
|
accessKeyId: LTAIgC8O2WUXvXuR # 访问身份验证中用到用户标识
|
|
|
accessKeySecret: 1yyCazuT1M6MruBXzgFjP0p9gdMlwX # 用户用于加密签名字符串和oss用来验证签名字符串的密钥
|
|
|
- bucketName: zhongzheng-prod # oss的存储空间
|
|
|
+ bucketName: zhongzheng-test # oss的存储空间
|
|
|
policy:
|
|
|
expire: 30 # 签名有效期(S)
|
|
|
maxSize: 100 # 上传文件大小(M)
|
|
|
- callback: https://cloud.xyyxt.net/aliyun/oss/callback # 文件上传成功后的回调地址
|
|
|
+ callback: http://120.79.166.78:19004/aliyun/oss/callback # 文件上传成功后的回调地址
|
|
|
dir:
|
|
|
prefix: oss/images/ # 上传文件夹路径前缀 `
|
|
|
|
|
|
@@ -140,39 +106,45 @@ wx:
|
|
|
mchid: 1342013901
|
|
|
key: GdXyPxYjZx1234123yJzXgDxYpXyjpx9
|
|
|
appsecret: GdXyPxYjZx1234123yJzXgDxYpXyjpx9
|
|
|
- notifyUrl: https://api.xyyxt.net/wx/pay/callback
|
|
|
+ notifyUrl: http://120.79.166.78:19012/wx/pay/callback
|
|
|
scanLogin:
|
|
|
- host: https://m.xyyxt.net/
|
|
|
+ host: https://testm.xyyxt.net/
|
|
|
|
|
|
wisdomExamRoom:
|
|
|
mchid: 10001
|
|
|
appid: ZZ-YXT-GZ-20220820-0001
|
|
|
app_secret: mt70O1s/Xd5LwuH7yHLpj9R+tKUn5j9vTnCvmgBnbJDA11Hpl7+q4lEZliqPAjN+YHPn9bGmHkAbw5XwhhMiYg==
|
|
|
- host: http://bg.sam457.site:9020
|
|
|
+ host: http://bg.sam457.site:9020
|
|
|
|
|
|
certificate:
|
|
|
- host: https://m.xyyxt.net/
|
|
|
+ host: http://192.168.1.38:8000/
|
|
|
|
|
|
-liveGotoURL: https://
|
|
|
+liveGotoURL: http://
|
|
|
|
|
|
-enCodeVersion: release
|
|
|
+enCodeVersion: develop
|
|
|
|
|
|
oldStudySys:
|
|
|
- syncPath: https://www.xyyxt.net/System/BussinessApi/PostUserStudyRecords
|
|
|
- sharePath: https://www.xyyxt.net/witsystem/dataapi/SaleOrder
|
|
|
- shareCanclePath: https://www.xyyxt.net/witsystem/dataapi/ordercance
|
|
|
- searchGradeCount: https://www.xyyxt.net/System/BussinessApi/OfficialGradeCount
|
|
|
- pushGradeCount: https://www.xyyxt.net/System/BussinessApi/OfficialGradeCountAuto
|
|
|
- educationalInspector: https://zs.gdzzkj.net/EduSystem/BusinessApi/NewYxtUserPrompt
|
|
|
- classUserListPath: https://www.xyyxt.net/System/BussinessApi/UserCourseCategoryListcno
|
|
|
- classOpenPath: https://www.xyyxt.net/System/BussinessApi/OpenClass
|
|
|
- salePassword: http://www.xyyxt.net/WitSystem/BussinessApi/GetSaleInfo
|
|
|
+ syncPath: http://gdxypx.xy.com/System/BussinessApi/PostUserStudyRecords
|
|
|
+ sharePath: http://192.168.1.210:8086/witsystem/dataapi/SaleOrder
|
|
|
+ shareCanclePath: http://192.168.1.210:8086/witsystem/dataapi/ordercance
|
|
|
+ searchGradeCount: http://gdxypx.xy.com/System/BussinessApi/OfficialGradeCount
|
|
|
+ pushGradeCount: http://gdxypx.xy.com/System/BussinessApi/OfficialGradeCountAuto
|
|
|
+ educationalInspector: http://192.168.1.210/EduSystem/BusinessApi/NewYxtUserPrompt
|
|
|
+ classUserListPath: http://gdxypx.xy.com/System/BussinessApi/UserCourseCategoryListcno
|
|
|
+ classOpenPath: http://gdxypx.xy.com/System/BussinessApi/OpenClass
|
|
|
+ salePassword: http://gdxypx.xy.com/WitSystem/BussinessApi/GetSaleInfo
|
|
|
|
|
|
officialPush:
|
|
|
- infoPath: https://jypt.gdcic.net/organjxjy/ShangBaoMingdan
|
|
|
- periodPath: https://jypt.gdcic.net/organjxjy/XueshiShenqing
|
|
|
- infoAccount: GDSXY
|
|
|
- token: 01b5d9833987efdff54483cdc9720da6
|
|
|
+ infoPath: https://jypt-dev.gdcic.net/organjxjy/ShangBaoMingdan
|
|
|
+ periodPath: https://jypt-dev.gdcic.net/organjxjy/XueshiShenqing
|
|
|
+ infoAccount: peixunjigou
|
|
|
+ token: 0ca175b9c0f726a831d895e26933246
|
|
|
+
|
|
|
|
|
|
distributionOldPay:
|
|
|
- host: https://www.xyyxt.net/System/BussinessApi/AddRedPackData
|
|
|
+ host: http://gdxypx.xy.com/System/BussinessApi/AddRedPackData
|
|
|
+
|
|
|
+exam:
|
|
|
+ subscribe: http://192.168.1.222:5030/common/apply/subscribe
|
|
|
+ cancelSubscribe: http://192.168.1.222:5030/common/apply/subscribe/cancel
|
|
|
+
|