From af1f6b9d8ce6b2dfa4e2123d7a7366a2aae33c8f Mon Sep 17 00:00:00 2001 From: liangtongchuan Date: Tue, 25 Apr 2023 11:46:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(config):=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=85=AC=E6=B5=8BiOS=E5=AE=A1=E6=A0=B8=E6=9C=8D?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app.ts | 2 +- game-server/config/yjz_zy.ts | 21 +++++++++------------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/game-server/app.ts b/game-server/app.ts index 5ce914d6e..88dc98336 100644 --- a/game-server/app.ts +++ b/game-server/app.ts @@ -53,7 +53,7 @@ filePath.CONFIG_DIR = '/config'; const adminfilePath = _pinus.DEFAULT_ADMIN_PATH; adminfilePath.ADMIN_FILENAME = 'adminUser'; adminfilePath.ADMIN_USER = 'config/adminUser'; -const ALL_ENVS = 'stable|development|alpha|dev|isbn|isbnhk|monitor|monitor2|distribute|sq1|sq3|sq4|sq7|sq9|zy1'; +const ALL_ENVS = 'stable|development|alpha|dev|isbn|isbnhk|monitor|monitor2|distribute|sq1|sq3|sq4|sq7|sq9|zy1|yjzios'; /** * 替换全局Promise * 自动解析sourcemap diff --git a/game-server/config/yjz_zy.ts b/game-server/config/yjz_zy.ts index 31707df40..15f934228 100644 --- a/game-server/config/yjz_zy.ts +++ b/game-server/config/yjz_zy.ts @@ -230,33 +230,30 @@ export const zy5 = { // ios提审 export const yjzios = { 'connector': [ - { 'id': 'connector-server-1', 'port': 4050, 'clientHost': 'yjz-ios-review-game.fdd73.com', 'host': '172.31.237.140', 'clientPort': 3050, 'frontend': true }, + { 'id': 'connector-server-1', 'port': 4050, 'clientHost': 'yjz-ios-review-game.fdd73.com', 'host': '127.0.0.1', 'clientPort': 3050, 'frontend': true }, ], 'chat': [ - { 'id': 'chat-server-1', 'host': '172.31.237.140', 'port': 6050 }, + { 'id': 'chat-server-1', 'host': '127.0.0.1', 'port': 6050 }, ], 'role': [ - { 'id': 'role-server-1', 'host': '172.31.237.140', 'port': 6053 } + { 'id': 'role-server-1', 'host': '127.0.0.1', 'port': 6053 } ], 'battle': [ - { 'id': 'battle-server-1', 'host': '172.31.237.140', 'port': 6054 } - ], - 'gate': [ - { 'id': 'gate-server-1', 'host': '172.31.237.140', 'clientHost': 'pinus_test.trgame.cn', 'clientPort': 3014, 'frontend': true } + { 'id': 'battle-server-1', 'host': '127.0.0.1', 'port': 6054 } ], 'gm': [ - { 'id': 'gm-server-1', 'host': '172.31.237.140', 'port': 6055 } + { 'id': 'gm-server-1', 'host': '127.0.0.1', 'port': 6055 } ], 'systimer': [ - { 'id': 'systimer-server-1', 'host': '172.31.237.140', 'port': 6056 } + { 'id': 'systimer-server-1', 'host': '127.0.0.1', 'port': 6056 } ], 'guild': [ - { 'id': 'guild-server-1', 'host': '172.31.237.140', 'port': 6061, "args": " --inspect=9239" }, + { 'id': 'guild-server-1', 'host': '127.0.0.1', 'port': 6061, "args": " --inspect=9239" }, ], 'activity': [ - { 'id': 'activity-server-1', 'host': '172.31.237.140', 'port': 6059, "args": " --inspect=9241" }, + { 'id': 'activity-server-1', 'host': '127.0.0.1', 'port': 6059, "args": " --inspect=9241" }, ], 'order': [ - { 'id': 'order-server-1', 'host': '172.31.237.140', 'port': 6060, "args": " --inspect=9242" }, + { 'id': 'order-server-1', 'host': '127.0.0.1', 'port': 6060, "args": " --inspect=9242" }, ] };