From 892b50e242e3c59a738b92dfdfee1bf1ff8932f2 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 21 十月 2022 16:59:58 +0800
Subject: [PATCH] 新策略修改

---
 code_data_util.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/code_data_util.py b/code_data_util.py
index 911417d..1387f1d 100644
--- a/code_data_util.py
+++ b/code_data_util.py
@@ -1,3 +1,7 @@
+"""
+鑲$エ鏁版嵁宸ュ叿
+"""
+
 # 鑲$エ浠g爜鐩稿叧鐨勫弬鏁�
 import redis_manager
 
@@ -16,7 +20,7 @@
     @classmethod
     def get(cls, code):
         redis = _redisManager.getRedis()
-        val = redis.get(code)
+        val = redis.get("zyltgb-{}".format(code))
         if val is not None:
             return int(val)
         return None

--
Gitblit v1.8.0