From bff4cc7f8f9a8afdeb405c14f5ba5cc9f43772a0 Mon Sep 17 00:00:00 2001 From: shi Date: Sat, 1 Mar 2025 17:17:58 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ff-game):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=99=BD=E5=90=8D=E5=8D=95=E9=AA=8C=E8=AF=81=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改了白名单验证失败时的错误提示信息,增加了具体的 IP 地址 --- ff-game/src/main/resources/application-prod.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ff-game/src/main/resources/application-prod.yml b/ff-game/src/main/resources/application-prod.yml index 473dd2e..9771e12 100644 --- a/ff-game/src/main/resources/application-prod.yml +++ b/ff-game/src/main/resources/application-prod.yml @@ -10,14 +10,13 @@ server: # 应用的访问路径 context-path: /ff-api - # 日志配置 logging: level: com.ff: debug org.springframework: warn file: - path: D:/opt/sever/dist/ff-admin/logs + path: /opt/gameApi/dist/game-api/logs # 数据源配置 spring: @@ -28,7 +27,7 @@ spring: # 端口,默认为6379 port: 26379 # 数据库索引 - database: 0 + database: 1 # 密码 password: reAa123456 # 连接超时时间 @@ -51,8 +50,8 @@ spring: # 主库数据源 master: url: jdbc:mysql://127.0.0.1:23306/ff-game?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true - username: root - password: myAa123456 + username: ff-game + password: bmGCJCyhfDXnPspe # 初始连接数 initialSize: 5 # 最小连接池数量