|
@@ -48,7 +48,7 @@ spring:
|
|
|
primary: master
|
|
|
datasource:
|
|
|
master:
|
|
|
- url: jdbc:mysql://172.16.101.77:3306/ruoyi-vue-pro-fix?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
|
|
+ url: jdbc:mysql://1.94.244.160:3306/rqiot?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
|
|
# url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true # MySQL Connector/J 5.X 连接的示例
|
|
|
# url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例
|
|
|
# url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例
|
|
@@ -57,7 +57,7 @@ spring:
|
|
|
# url: jdbc:kingbase8://127.0.0.1:54321/test # 人大金仓 KingbaseES 连接的示例
|
|
|
# url: jdbc:postgresql://127.0.0.1:5432/postgres # OpenGauss 连接的示例
|
|
|
username: root
|
|
|
- password: 123456
|
|
|
+ password: .N_Mdq!BR1W4
|
|
|
# username: sa # SQL Server 连接的示例
|
|
|
# password: Yudao@2024 # SQL Server 连接的示例
|
|
|
# username: SYSDBA # DM 连接的示例
|
|
@@ -66,9 +66,9 @@ spring:
|
|
|
# password: Yudao@2024 # OpenGauss 连接的示例
|
|
|
slave: # 模拟从库,可根据自己需要修改
|
|
|
lazy: true # 开启懒加载,保证启动速度
|
|
|
- url: jdbc:mysql://172.16.101.77:3306/ruoyi-vue-pro-fix?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
|
|
|
+ url: jdbc:mysql://1.94.244.160:3306/rqiot?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
|
|
|
username: root
|
|
|
- password: 123456
|
|
|
+ password: .N_Mdq!BR1W4
|
|
|
# tdengine: # IoT 数据库(需要 IoT 物联网再开启噢!)
|
|
|
# url: jdbc:TAOS-RS://127.0.0.1:6041/ruoyi_vue_pro
|
|
|
# driver-class-name: com.taosdata.jdbc.rs.RestfulDriver
|
|
@@ -79,7 +79,7 @@ spring:
|
|
|
|
|
|
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
|
|
|
redis:
|
|
|
- host: 172.16.101.77 # 地址
|
|
|
+ host: 127.0.0.1 # 地址
|
|
|
port: 6379 # 端口
|
|
|
database: 0 # 数据库索引
|
|
|
password: 123456 # 密码,建议生产环境开启
|
|
@@ -192,9 +192,9 @@ debug: false
|
|
|
|
|
|
--- #################### 钉微应用相关配置 ####################
|
|
|
dingtalk:
|
|
|
- AGENT_ID: 3453312373 # DeepOil 微应用 agent_id
|
|
|
- APP_KEY: dingik345qmyhtysvs2x # 钉钉微应用 appkey
|
|
|
- APP_SECRET: MIF55t94hRhI2EPaymoUF8-LRhWO6RxTxevYdwE9imdRUEZzxdgpNexqoTn2AIMr # 钉钉微应用 appkey
|
|
|
+ AGENT_ID: 3687646006 # DeepOil 微应用 agent_id
|
|
|
+ APP_KEY: dingmr9ez0ecgbmscfeb # 钉钉微应用 appkey
|
|
|
+ APP_SECRET: VhG_zMdTvIBwA_0Ef8FJ0foH3VYYo5T-kw0ukX_PBA8Ah1xl7AjDw5RVYCU0DTpe # 钉钉微应用 appkey
|
|
|
GET_ACCESS_TOKEN_URL: https://oapi.dingtalk.com/gettoken # 获取access_token
|
|
|
URL_GET_USERINFO_BYCODE: https://oapi.dingtalk.com/sns/getuserinfo_bycode # 通过二维码扫码获取UNIONID
|
|
|
URL_GET_USERINFO_BYUNIONID: https://oapi.dingtalk.com/topapi/user/getbyunionid # 通过UNIONID获取用户信息
|
|
@@ -256,11 +256,11 @@ justauth:
|
|
|
enabled: true
|
|
|
type:
|
|
|
DINGTALK: # 钉钉
|
|
|
- client-id: dingik345qmyhtysvs2x
|
|
|
- client-secret: MIF55t94hRhI2EPaymoUF8-LRhWO6RxTxevYdwE9imdRUEZzxdgpNexqoTn2AIMr
|
|
|
+ client-id: dingmr9ez0ecgbmscfeb
|
|
|
+ client-secret: VhG_zMdTvIBwA_0Ef8FJ0foH3VYYo5T-kw0ukX_PBA8Ah1xl7AjDw5RVYCU0DTpe
|
|
|
ignore-check-redirect-uri: true
|
|
|
ignore-check-state: true
|
|
|
- redirect-uri: http://1.94.244.160:81
|
|
|
+ redirect-uri: http://1.94.244.160:70
|
|
|
WECHAT_ENTERPRISE: # 企业微信
|
|
|
client-id: wwd411c69a39ad2e54
|
|
|
client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw
|