From ecfbb56f1ce77b2288d272fa1ed2a02623e92d5a Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 20 八月 2025 13:49:12 +0800 Subject: [PATCH] bug修复/接口修改 --- test/test.py | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/test/test.py b/test/test.py index 26f1b22..6513a9a 100644 --- a/test/test.py +++ b/test/test.py @@ -7,6 +7,8 @@ from code_attribute import gpcode_manager from l2.huaxin import l2_huaxin_util +from third_data import history_k_data_manager +from third_data.history_k_data_manager import HistoryKDataManager from utils import tool @@ -89,10 +91,15 @@ if __name__ == '__main__': - q = queue.Queue() - if not q.empty(): - data = q.get(block=False) - print(data) + def callback_function(res): + print("鍥炶皟鏁版嵁锛�", res) + + + def exec(call_back): + call_back({"code": 0}) + + + exec(callback_function) if __name__ == '__main__1': # 鍔犺浇姣忎竴澶╃殑浠g爜鐨勬定鍋滀环 -- Gitblit v1.8.0