From ba52d7ac92a36f413eacaa686f8535e859664ec6 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 28 八月 2023 09:45:11 +0800 Subject: [PATCH] bug修改 --- outside_api_command_manager.py | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/outside_api_command_manager.py b/outside_api_command_manager.py index 29755c1..193de05 100644 --- a/outside_api_command_manager.py +++ b/outside_api_command_manager.py @@ -185,7 +185,7 @@ cls.action_callback.OnGetCodeTradeState(client_id, request_id, data) elif content_type == API_TYPE_GET_ENV: cls.action_callback.OnGetEnvInfo(client_id, request_id, data) - elif content_type == API_TYPE_GET_ENV: + elif content_type == API_TYPE_SYNC_L1_TARGET_CODES: cls.action_callback.OnSyncL2SubscriptCodes(client_id, request_id) except Exception as e: logging.exception(e) @@ -216,9 +216,6 @@ sk.send(socket_util.load_header(json.dumps({"type": "heart", "client_id": client_id}).encode('utf-8'))) # print("蹇冭烦淇℃伅鍙戦�佹垚鍔�", client_id) except Exception as e: - logging.error("閿欒") - print("蹇冭烦淇℃伅鍙戦�佸け璐�", _type, client_id) - logging.exception(e) if _type == CLIENT_TYPE_TRADE: if client_id in cls.trade_client_dict: cls.trade_client_dict.pop(client_id) -- Gitblit v1.8.0