From 31a6f5bd732f38e0847521b1f78c5ac6bfc68718 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 20 十一月 2023 10:54:32 +0800 Subject: [PATCH] Bug修复 --- outside_api_command_manager.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/outside_api_command_manager.py b/outside_api_command_manager.py index a476003..9736fd9 100644 --- a/outside_api_command_manager.py +++ b/outside_api_command_manager.py @@ -56,6 +56,7 @@ API_TYPE_GET_FROM_DATA_SERVER = "get_from_data_server" # 浠庢暟鎹湇鍔″櫒鎷夊彇鏁版嵁 API_TYPE_CODE_TRADE_INFO = "code_trade_info" # 浠g爜浜ゆ槗淇℃伅 API_TYPE_CODE_L2_LISTEN_ACTIVE_COUNT = "l2_listen_active_count" # L2鏈夋晥鐩戝惉鏁伴噺 +API_TYPE_SAVE_RUNNING_DATA = "save_running_data" # 淇濆瓨杩愯鏃舵暟鎹� class ActionCallback(object): @@ -104,6 +105,9 @@ pass def OnGetActiveListenCount(self, client_id, request_id): + pass + + def OnSaveRunningData(self, client_id, request_id): pass @@ -209,6 +213,8 @@ cls.action_callback.OnGetCodeTradeInfo(client_id, request_id, data) elif content_type == API_TYPE_CODE_L2_LISTEN_ACTIVE_COUNT: cls.action_callback.OnGetActiveListenCount(client_id, request_id) + elif content_type == API_TYPE_SAVE_RUNNING_DATA: + cls.action_callback.OnSaveRunningData(client_id, request_id) except Exception as e: logging.exception(e) -- Gitblit v1.8.0