chore(config): 调整开发环境配置

- 修改服务器端口为 9200
- 将默认激活环境改为 dev
- 更新开发环境数据库连接信息
- 注释掉旧的生产环境数据源配置
- 调整生产环境数据库地址端口
- 修正定时任务表达式格式问题
This commit is contained in:
2025-12-18 11:10:04 +08:00
parent dbeacbc3a3
commit 948a8afec1
3 changed files with 15 additions and 8 deletions

View File

@@ -1,13 +1,20 @@
# 开发环境配置
server:
port: 9200
# 数据源配置
spring:
datasource:
url: jdbc:mysql://47.119.165.234:3308/open_ws?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
username: open_ws
password: DzAmFiZfPJ6ZGApm
url: jdbc:mysql://47.107.122.174:3308/yunxinwei?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
username: yunxinwei
password: A56sK6aW2FA3wBy2
driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
# datasource:
# url: jdbc:mysql://47.119.165.234:3308/open_ws?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
# username: open_ws
# password: DzAmFiZfPJ6ZGApm
# driver-class-name: com.mysql.cj.jdbc.Driver
# type: com.alibaba.druid.pool.DruidDataSource
# 日志配置
logging:

View File

@@ -3,7 +3,7 @@
# 数据源配置
spring:
datasource:
url: jdbc:mysql://1.14.159.185:3318/yunxinwei?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
url: jdbc:mysql://47.107.122.174:3318/yunxinwei?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
username: yunxinwei
password: A56sK6aW2FA3wBy2
driver-class-name: com.mysql.cj.jdbc.Driver

View File

@@ -1,13 +1,13 @@
# 端口
server:
port: 9090
port: 9200
# socketIo
socketio:
port: 9190
# 多环境配置
spring:
profiles:
active: prod
active: dev
# json时间格式设置
jackson:
time-zone: GMT+8