From a1e6db3f9149baea68a4020e77e0400361a21ddf Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 25 Aug 2020 14:03:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=AF=BB=E5=8F=96=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/gameserver/metamgr.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/server/gameserver/metamgr.cc b/server/gameserver/metamgr.cc index 9fa2f55..35f448d 100755 --- a/server/gameserver/metamgr.cc +++ b/server/gameserver/metamgr.cc @@ -95,18 +95,20 @@ public: { if (!f8::IsOnlineEnv()) { if (f8::IsTestEnv()) { - res_path = a8::Format("/root/pub/%d/%d/conf_test/game%d/gameserver.test/res/", + res_path = a8::Format("/root/pub/%d/%d/conf_test/game%d/gameserver.test/res%d/", { GAME_ID, App::Instance()->instance_id, - GAME_ID + GAME_ID, + App::Instance()->instance_id }); } else { - res_path = a8::Format("/root/pub/%d/%d/conf_test/game%d/gameserver.dev/res/", + res_path = a8::Format("/root/pub/%d/%d/conf_test/game%d/gameserver.dev/res%d/", { GAME_ID, App::Instance()->instance_id, - GAME_ID + GAME_ID, + App::Instance()->instance_id }); } } else {