pull/1121/head
梁宇奇 2025-06-26 21:18:46 +08:00
parent e8b5a2bb78
commit 20c6658a1c
2 changed files with 16 additions and 16 deletions

View File

@ -6,9 +6,9 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://47.100.64.234:3377/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: hongtu56@Mysql0212
url: jdbc:mysql://rm-bp17756y86qdc110z5o.mysql.rds.aliyuncs.com:3306/xiekutong?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: xkt
password: mtd@3XKSoXm671Yc7oZ5G
# 从库数据源
slave:
# 从数据源开关/默认关闭
@ -42,7 +42,7 @@ spring:
webStatFilter:
enabled: true
statViewServlet:
enabled: true
enabled: false
# 设置白名单,不填则允许所有访问
allow:
url-pattern: /druid/*

View File

@ -13,14 +13,14 @@ ruoyi:
# 验证码类型 math 数字计算 char 字符验证 num 纯数字
captchaType: num
oss:
endPoint: oss-cn-beijing.aliyuncs.com
accessKeyId: LTAI5tFXTfY5Rsiwvrg9gUuk
accessKeySecret: Ebbj7anXSdbJwfm5zbTfHkJ5QWDbTP
bucketName: lyq-private
publicBucketName: lyq-public
endPoint: oss-cn-hangzhou.aliyuncs.com
accessKeyId: LTAI5tCrN19aDVWLLfpKVEZw
accessKeySecret: aVddl48X8SoKua7NaI51CL1Am84XNp
bucketName: cdbuju
publicBucketName: xkt-pub
https: true
regionId: cn-beijing
roleArn: acs:ram::1919425406190533:role/sts-role
regionId: cn-hangzhou
roleArn: acs:ram::1970150216435822:role/oss-upload
expiredDuration: 3600
tempDir: E:/temp/
stsCacheDuration: 1800
@ -42,10 +42,10 @@ sms:
templateCode: SMS_318925388
es:
#多个用","分割
hosts: 49.234.41.39:9222
hosts: es-cn-em94bkrrl0005djma.public.elasticsearch.aliyuncs.com:9200
ssl: false
username: elastic
password: eguMAH-Fg*dPETkgJTkD
password: 0tP&3!GZZDMrglBm&kWJyw
maxConnTotal: 4
maxConnPerRoute: 2
# 开发环境配置
@ -103,13 +103,13 @@ spring:
# redis 配置
redis:
# 地址
host: 47.100.64.234
host: r-bp1qhhpf6g2wcvvt71pd.redis.rds.aliyuncs.com
# 端口默认为6379
port: 6699
port: 6379
# 数据库索引
database: 0
# 密码
password: hongtu56@Redis0212
password: E5tVB*dSkc38UDP%F1#WjZ
# 连接超时时间
timeout: 10s
lettuce: