mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 01:25:28 +08:00
密码整理
This commit is contained in:
parent
b24cb05c94
commit
33b67e1659
@ -398,7 +398,7 @@ spring.data:
|
|||||||
host: redis # Redis服务器地址
|
host: redis # Redis服务器地址
|
||||||
database: 0 # Redis数据库索引(默认为0)
|
database: 0 # Redis数据库索引(默认为0)
|
||||||
port: 6379 # Redis服务器连接端口
|
port: 6379 # Redis服务器连接端口
|
||||||
password: Lzw8800580/
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
# 是否开启ssl
|
# 是否开启ssl
|
||||||
|
|||||||
@ -398,7 +398,7 @@ spring.data:
|
|||||||
host: localhost # Redis服务器地址
|
host: localhost # Redis服务器地址
|
||||||
database: 0 # Redis数据库索引(默认为0)
|
database: 0 # Redis数据库索引(默认为0)
|
||||||
port: 6379 # Redis服务器连接端口
|
port: 6379 # Redis服务器连接端口
|
||||||
password: Lzw8800580/
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
# 是否开启ssl
|
# 是否开启ssl
|
||||||
|
|||||||
@ -1,31 +1,10 @@
|
|||||||
# 安全配置
|
|
||||||
security:
|
|
||||||
# 不校验白名单
|
|
||||||
ignore:
|
|
||||||
whites:
|
|
||||||
- /auth/code
|
|
||||||
- /auth/logout
|
|
||||||
- /auth/login
|
|
||||||
- /auth/binding/*
|
|
||||||
- /auth/social/callback
|
|
||||||
- /auth/register
|
|
||||||
- /auth/tenant/list
|
|
||||||
- /resource/sms/code
|
|
||||||
- /resource/sse/close
|
|
||||||
- /*/v3/api-docs
|
|
||||||
- /*/error
|
|
||||||
- /csrf
|
|
||||||
- /sso/getSsoAuthUrl
|
|
||||||
- /sso/isLogin
|
|
||||||
- /sso/doLoginByTicket
|
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
data:
|
data:
|
||||||
redis:
|
redis:
|
||||||
host: redis # Redis服务器地址
|
host: redis # Redis服务器地址
|
||||||
database: 0 # Redis数据库索引(默认为0)
|
database: 0 # Redis数据库索引(默认为0)
|
||||||
port: 6379 # Redis服务器连接端口
|
port: 6379 # Redis服务器连接端口
|
||||||
password: Lzw8800580/
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
# 是否开启ssl
|
# 是否开启ssl
|
||||||
@ -38,62 +17,6 @@ spring:
|
|||||||
# 注册组
|
# 注册组
|
||||||
group: DUBBO_GROUP
|
group: DUBBO_GROUP
|
||||||
namespace: c5c00044-93e6-4e66-8060-3f39aa7ab82b
|
namespace: c5c00044-93e6-4e66-8060-3f39aa7ab82b
|
||||||
# 网关配置
|
|
||||||
gateway:
|
|
||||||
# 打印请求日志(自定义)
|
|
||||||
requestLog: true
|
|
||||||
discovery:
|
|
||||||
locator:
|
|
||||||
lowerCaseServiceId: true
|
|
||||||
enabled: true #开启注册中心路由
|
|
||||||
routes:
|
|
||||||
# 认证中心
|
|
||||||
- id: ruoyi-auth
|
|
||||||
uri: lb://ruoyi-auth
|
|
||||||
predicates:
|
|
||||||
- Path=/auth/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
# 代码生成
|
|
||||||
- id: ruoyi-gen
|
|
||||||
uri: lb://ruoyi-gen
|
|
||||||
predicates:
|
|
||||||
- Path=/tool/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
# 系统模块
|
|
||||||
- id: ruoyi-system
|
|
||||||
uri: lb://ruoyi-system
|
|
||||||
predicates:
|
|
||||||
- Path=/system/**,/monitor/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
# 资源服务
|
|
||||||
- id: ruoyi-resource
|
|
||||||
uri: lb://ruoyi-resource
|
|
||||||
predicates:
|
|
||||||
- Path=/resource/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
# workflow服务
|
|
||||||
- id: ruoyi-workflow
|
|
||||||
uri: lb://ruoyi-workflow
|
|
||||||
predicates:
|
|
||||||
- Path=/workflow/**
|
|
||||||
# 演示服务
|
|
||||||
- id: ruoyi-demo
|
|
||||||
uri: lb://ruoyi-demo
|
|
||||||
predicates:
|
|
||||||
- Path=/demo/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
# MQ演示服务
|
|
||||||
- id: ruoyi-h5
|
|
||||||
uri: lb://ruoyi-h5
|
|
||||||
predicates:
|
|
||||||
- Path=/ruoyi-h5/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
|
|
||||||
|
|
||||||
# sa-token配置
|
# sa-token配置
|
||||||
@ -146,8 +69,3 @@ sa-token:
|
|||||||
max-idle: 10
|
max-idle: 10
|
||||||
# 连接池中的最小空闲连接
|
# 连接池中的最小空闲连接
|
||||||
min-idle: 1
|
min-idle: 1
|
||||||
|
|
||||||
# 多租户配置
|
|
||||||
tenant:
|
|
||||||
# 是否开启
|
|
||||||
enable: false
|
|
||||||
|
|||||||
@ -1,31 +1,10 @@
|
|||||||
# 安全配置
|
|
||||||
security:
|
|
||||||
# 不校验白名单
|
|
||||||
ignore:
|
|
||||||
whites:
|
|
||||||
- /auth/code
|
|
||||||
- /auth/logout
|
|
||||||
- /auth/login
|
|
||||||
- /auth/binding/*
|
|
||||||
- /auth/social/callback
|
|
||||||
- /auth/register
|
|
||||||
- /auth/tenant/list
|
|
||||||
- /resource/sms/code
|
|
||||||
- /resource/sse/close
|
|
||||||
- /*/v3/api-docs
|
|
||||||
- /*/error
|
|
||||||
- /csrf
|
|
||||||
- /sso/getSsoAuthUrl
|
|
||||||
- /sso/isLogin
|
|
||||||
- /sso/doLoginByTicket
|
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
data:
|
data:
|
||||||
redis:
|
redis:
|
||||||
host: 127.0.0.1 # Redis服务器地址
|
host: 127.0.0.1 # Redis服务器地址
|
||||||
database: 0 # Redis数据库索引(默认为0)
|
database: 0 # Redis数据库索引(默认为0)
|
||||||
port: 6379 # Redis服务器连接端口
|
port: 6379 # Redis服务器连接端口
|
||||||
password: Lzw8800580/
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
# 是否开启ssl
|
# 是否开启ssl
|
||||||
@ -38,62 +17,6 @@ spring:
|
|||||||
# 注册组
|
# 注册组
|
||||||
group: DUBBO_GROUP
|
group: DUBBO_GROUP
|
||||||
namespace: c5c00044-93e6-4e66-8060-3f39aa7ab82b
|
namespace: c5c00044-93e6-4e66-8060-3f39aa7ab82b
|
||||||
# 网关配置
|
|
||||||
gateway:
|
|
||||||
# 打印请求日志(自定义)
|
|
||||||
requestLog: true
|
|
||||||
discovery:
|
|
||||||
locator:
|
|
||||||
lowerCaseServiceId: true
|
|
||||||
enabled: true
|
|
||||||
routes:
|
|
||||||
# 认证中心
|
|
||||||
- id: ruoyi-auth
|
|
||||||
uri: lb://ruoyi-auth
|
|
||||||
predicates:
|
|
||||||
- Path=/auth/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
# 代码生成
|
|
||||||
- id: ruoyi-gen
|
|
||||||
uri: lb://ruoyi-gen
|
|
||||||
predicates:
|
|
||||||
- Path=/tool/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
# 系统模块
|
|
||||||
- id: ruoyi-system
|
|
||||||
uri: lb://ruoyi-system
|
|
||||||
predicates:
|
|
||||||
- Path=/system/**,/monitor/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
# 资源服务
|
|
||||||
- id: ruoyi-resource
|
|
||||||
uri: lb://ruoyi-resource
|
|
||||||
predicates:
|
|
||||||
- Path=/resource/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
# workflow服务
|
|
||||||
- id: ruoyi-workflow
|
|
||||||
uri: lb://ruoyi-workflow
|
|
||||||
predicates:
|
|
||||||
- Path=/workflow/**
|
|
||||||
# 演示服务
|
|
||||||
- id: ruoyi-demo
|
|
||||||
uri: lb://ruoyi-demo
|
|
||||||
predicates:
|
|
||||||
- Path=/demo/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
# MQ演示服务
|
|
||||||
- id: ruoyi-h5
|
|
||||||
uri: lb://ruoyi-h5
|
|
||||||
predicates:
|
|
||||||
- Path=/ruoyi-h5/**
|
|
||||||
filters:
|
|
||||||
- StripPrefix=1
|
|
||||||
|
|
||||||
|
|
||||||
# sa-token配置
|
# sa-token配置
|
||||||
@ -146,8 +69,3 @@ sa-token:
|
|||||||
max-idle: 10
|
max-idle: 10
|
||||||
# 连接池中的最小空闲连接
|
# 连接池中的最小空闲连接
|
||||||
min-idle: 1
|
min-idle: 1
|
||||||
|
|
||||||
# 多租户配置
|
|
||||||
tenant:
|
|
||||||
# 是否开启
|
|
||||||
enable: false
|
|
||||||
|
|||||||
@ -12,3 +12,88 @@ spring:
|
|||||||
profiles:
|
profiles:
|
||||||
# 环境配置
|
# 环境配置
|
||||||
active: @profiles.active@
|
active: @profiles.active@
|
||||||
|
|
||||||
|
cloud:
|
||||||
|
# 网关配置
|
||||||
|
gateway:
|
||||||
|
# 打印请求日志(自定义)
|
||||||
|
requestLog: true
|
||||||
|
discovery:
|
||||||
|
locator:
|
||||||
|
lowerCaseServiceId: true
|
||||||
|
enabled: true
|
||||||
|
routes:
|
||||||
|
# 认证中心
|
||||||
|
- id: ruoyi-auth
|
||||||
|
uri: lb://ruoyi-auth
|
||||||
|
predicates:
|
||||||
|
- Path=/auth/**
|
||||||
|
filters:
|
||||||
|
- StripPrefix=1
|
||||||
|
# 代码生成
|
||||||
|
- id: ruoyi-gen
|
||||||
|
uri: lb://ruoyi-gen
|
||||||
|
predicates:
|
||||||
|
- Path=/tool/**
|
||||||
|
filters:
|
||||||
|
- StripPrefix=1
|
||||||
|
# 系统模块
|
||||||
|
- id: ruoyi-system
|
||||||
|
uri: lb://ruoyi-system
|
||||||
|
predicates:
|
||||||
|
- Path=/system/**,/monitor/**
|
||||||
|
filters:
|
||||||
|
- StripPrefix=1
|
||||||
|
# 资源服务
|
||||||
|
- id: ruoyi-resource
|
||||||
|
uri: lb://ruoyi-resource
|
||||||
|
predicates:
|
||||||
|
- Path=/resource/**
|
||||||
|
filters:
|
||||||
|
- StripPrefix=1
|
||||||
|
# workflow服务
|
||||||
|
- id: ruoyi-workflow
|
||||||
|
uri: lb://ruoyi-workflow
|
||||||
|
predicates:
|
||||||
|
- Path=/workflow/**
|
||||||
|
# 演示服务
|
||||||
|
- id: ruoyi-demo
|
||||||
|
uri: lb://ruoyi-demo
|
||||||
|
predicates:
|
||||||
|
- Path=/demo/**
|
||||||
|
filters:
|
||||||
|
- StripPrefix=1
|
||||||
|
# MQ演示服务
|
||||||
|
- id: ruoyi-h5
|
||||||
|
uri: lb://ruoyi-h5
|
||||||
|
predicates:
|
||||||
|
- Path=/ruoyi-h5/**
|
||||||
|
filters:
|
||||||
|
- StripPrefix=1
|
||||||
|
|
||||||
|
# 安全配置
|
||||||
|
security:
|
||||||
|
# 不校验白名单
|
||||||
|
ignore:
|
||||||
|
whites:
|
||||||
|
- /auth/code
|
||||||
|
- /auth/logout
|
||||||
|
- /auth/login
|
||||||
|
- /auth/binding/*
|
||||||
|
- /auth/social/callback
|
||||||
|
- /auth/register
|
||||||
|
- /auth/tenant/list
|
||||||
|
- /resource/sms/code
|
||||||
|
- /resource/sse/close
|
||||||
|
- /*/v3/api-docs
|
||||||
|
- /*/error
|
||||||
|
- /csrf
|
||||||
|
- /sso/getSsoAuthUrl
|
||||||
|
- /sso/isLogin
|
||||||
|
- /sso/doLoginByTicket
|
||||||
|
|
||||||
|
# 多租户配置
|
||||||
|
tenant:
|
||||||
|
# 是否开启
|
||||||
|
enable: true
|
||||||
|
|
||||||
|
|||||||
@ -67,7 +67,7 @@ spring:
|
|||||||
# Redis服务器连接端口
|
# Redis服务器连接端口
|
||||||
port: 6379
|
port: 6379
|
||||||
# Redis服务器连接密码(默认为空)
|
# Redis服务器连接密码(默认为空)
|
||||||
password: Lzw8800580/
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
|
|||||||
@ -9,7 +9,7 @@ spring:
|
|||||||
# Redis服务器连接端口
|
# Redis服务器连接端口
|
||||||
port: 6379
|
port: 6379
|
||||||
# Redis服务器连接密码(默认为空)
|
# Redis服务器连接密码(默认为空)
|
||||||
password: Lzw8800580/
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
|
|||||||
@ -9,7 +9,7 @@ spring:
|
|||||||
# Redis服务器连接端口
|
# Redis服务器连接端口
|
||||||
port: 6379
|
port: 6379
|
||||||
# Redis服务器连接密码(默认为空)
|
# Redis服务器连接密码(默认为空)
|
||||||
password: Lzw8800580/
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
|
|||||||
@ -21,7 +21,7 @@ spring:
|
|||||||
# Redis服务器连接端口
|
# Redis服务器连接端口
|
||||||
port: 6379
|
port: 6379
|
||||||
# Redis服务器连接密码(默认为空)
|
# Redis服务器连接密码(默认为空)
|
||||||
password: Lzw8800580/
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
|
|||||||
@ -21,7 +21,7 @@ spring:
|
|||||||
# Redis服务器连接端口
|
# Redis服务器连接端口
|
||||||
port: 6379
|
port: 6379
|
||||||
# Redis服务器连接密码(默认为空)
|
# Redis服务器连接密码(默认为空)
|
||||||
password: Lzw8800580/
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
|
|||||||
@ -21,7 +21,7 @@ spring:
|
|||||||
# Redis服务器连接端口
|
# Redis服务器连接端口
|
||||||
port: 6379
|
port: 6379
|
||||||
# Redis服务器连接密码(默认为空)
|
# Redis服务器连接密码(默认为空)
|
||||||
password: difyai123456
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
|
|||||||
@ -21,7 +21,7 @@ spring:
|
|||||||
# Redis服务器连接端口
|
# Redis服务器连接端口
|
||||||
port: 6379
|
port: 6379
|
||||||
# Redis服务器连接密码(默认为空)
|
# Redis服务器连接密码(默认为空)
|
||||||
password: difyai123456
|
password: abc8800580/
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user