config(env): 更新环境配置和数据库连接信息
- 将默认激活环境从 ysb2 切换到 glt2 - 更新 glt2 环境的数据源配置,包括数据库名称、用户名和密码 - 修改 glt3 环境的 Redis 配置,更新数据库编号、主机地址、端口和密码 - 将微信登录控制器中的默认租户ID从 10550 更改为 10584
This commit is contained in:
@@ -7,9 +7,9 @@ server:
|
||||
# 数据源配置
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://8.134.55.105:13306/gltdb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
|
||||
username: gltdb
|
||||
password: EeD4FtzyA5ksj7Bk
|
||||
url: jdbc:mysql://8.134.55.105:13306/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
|
||||
username: modules
|
||||
password: tYmmMGh5wpwXR3ae
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@ spring:
|
||||
|
||||
# redis
|
||||
redis:
|
||||
database: 3
|
||||
host: 1Panel-redis-GmNr
|
||||
port: 6379
|
||||
password: redis_t74P8C
|
||||
database: 0
|
||||
host: 47.119.165.234
|
||||
port: 16379
|
||||
password: redis_WSDb88
|
||||
|
||||
# 日志配置
|
||||
logging:
|
||||
|
||||
@@ -4,7 +4,7 @@ server:
|
||||
# 多环境配置
|
||||
spring:
|
||||
profiles:
|
||||
active: ysb2
|
||||
active: glt2
|
||||
|
||||
application:
|
||||
name: server
|
||||
|
||||
Reference in New Issue
Block a user