From b217ca6db84c273f0d1c24eed3fae6bec2431dbe Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 31 八月 2023 10:39:53 +0800 Subject: [PATCH] 添加系统日志 --- code_attribute/gpcode_first_screen_manager.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/code_attribute/gpcode_first_screen_manager.py b/code_attribute/gpcode_first_screen_manager.py index e70a5f1..c56e69c 100644 --- a/code_attribute/gpcode_first_screen_manager.py +++ b/code_attribute/gpcode_first_screen_manager.py @@ -5,9 +5,9 @@ # 璁剧疆棣栨澘鏈瓫閫夌殑鐩爣绁� import json -from db.redis_manager import RedisUtils +from db.redis_manager_delegate import RedisUtils from utils import tool -from db import redis_manager +from db import redis_manager_delegate as redis_manager from third_data import block_info __redisManager = redis_manager.RedisManager(0) @@ -152,7 +152,6 @@ return True, "鐐告澘鍚庯紝60鍒嗛挓鍐呴兘鏈洖灏�" if now_rate <= 6: return True, "鐐告澘鍚庯紝娑ㄥ箙灏忎簬6%" - # TODO 鏄惁鏈夊悓姒傚康鐨勭エ宸茬粡涔板叆鎴愬姛 blocks = block_info.get_code_blocks(code) if blocks and len(blocks) == 1: codes = block_info.get_block_codes(blocks[0]) -- Gitblit v1.8.0