# 数据源配置 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://192.168.1.222:3306/zz_edu_saas_top?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true username: root password: zhongzheng2021 #数据源 slave: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://192.168.1.222:3306/zz_edu_saas?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true username: root password: zhongzheng2021 # datasource: # type: com.alibaba.druid.pool.DruidDataSource # driverClassName: com.mysql.cj.jdbc.Driver # druid: # # 主库数据源 # master: # url: jdbc:mysql://192.168.1.222:3306/zz_edu_saas?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true # username: root # password: zhongzheng2021 # # 从库数据源 # 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: 1000 # merge-sql: true # wall: # config: # multi-statement-allow: true # redis 配置 redis: # 地址 host: 192.168.1.222 # 端口,默认为6379 port: 6379 # 数据库索引 database: 0 # 密码 password: zhongzheng2021_redis # 连接超时时间 timeout: 10s lettuce: pool: # 连接池中的最小空闲连接 min-idle: 0 # 连接池中的最大空闲连接 max-idle: 8 # 连接池的最大数据库连接数 max-active: 8 # #连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1ms aliyun: oss: endpoint: https://file-dev.xyyxt.net # oss对外服务的访问域名 accessKeyId: LTAIgC8O2WUXvXuR # 访问身份验证中用到用户标识 accessKeySecret: 1yyCazuT1M6MruBXzgFjP0p9gdMlwX # 用户用于加密签名字符串和oss用来验证签名字符串的密钥 bucketName: zhongzheng-test # oss的存储空间 policy: expire: 30 # 签名有效期(S) maxSize: 100 # 上传文件大小(M) callback: http://120.79.166.78:19004/aliyun/oss/callback # 文件上传成功后的回调地址 dir: prefix: oss/images/ # 上传文件夹路径前缀 ` poliv: token: userid: d5f6d309fe writetoken: 8f14a371-9d02-4ec1-922d-54d7b4f79dca readtoken: f2c397b4-e2a3-46dc-9266-e6a43ac26a35 secretkey: xpPrYdcbA1 wx: small: appid: wxd3c8ae80cf43a305 appsecret: 193a001ebfd46f227008a21e9d13e750 gzh: appid: wx6f48f721d18244eb appsecret: 2f8b2b4ff66e2f6adfb9f08ae22d7474 studyNoteTpId: DndIixcAp15Sqgb4KOGTMf73VLF09NlCUifPSel5Y_s qdyTpId: s981yq3SyIODNUEXFzVSWn0OYj90E72aKdtKtSp05_E qdySubTpId: gzE6zddD7OzDLUtOO4GfU-KPCxpMqWFhCj86uXExqB8 qdySubStatusTpId: 7oKaAHmc4P7jqfonuiM1wnjfNLh9T662Ywm1OAFaUFA qdyExamTpId: 66LitnYp0AIWFclo0rLdyLQP4-_vVc4pM95fyFs6l-c qdyExamStatusTpId: J7nNogGhD38OD20gI-3CzwawfEMu7lOjR8fsi4LgJ5g signatureTpId: 66LitnYp0AIWFclo0rLdyLQP4-_vVc4pM95fyFs6l-c wepay: mchid: 1342013901 key: GdXyPxYjZx1234123yJzXgDxYpXyjpx9 appsecret: GdXyPxYjZx1234123yJzXgDxYpXyjpx9 notifyUrl: http://120.79.166.78:19012/wx/pay/callback scanLogin: 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 certificate: host: http://192.168.1.38:8000/ liveGotoURL: http:// enCodeVersion: develop oldStudySys: 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 updateInvoicePath: http://gdxypx.xy.com/system/BussinessApi/UpdateInvoiceData officialPush: infoPath: https://jypt-dev.gdcic.net/organjxjy/ShangBaoMingdan periodPath: https://jypt-dev.gdcic.net/organjxjy/XueshiShenqing infoAccount: peixunjigou token: 0ca175b9c0f726a831d895e26933246 distributionOldPay: host: http://gdxypx.xy.com/System/BussinessApi/AddRedPackData handouts: savePath: http://192.168.1.7:9090/course/handouts/save updatePath: http://192.168.1.7:9090/course/handouts/edit Nuonuo: host: https://sandbox.nuonuocs.cn/open/v1/services APPkey: SD39149760 APPSecret: SD168A248B2844E0