From d89d4481dfdc84a6bc09fd22eea74c638e5d46ec Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 01 九月 2023 12:25:04 +0800
Subject: [PATCH] bug修复

---
 huaxin_client/l1_client.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/huaxin_client/l1_client.py b/huaxin_client/l1_client.py
index dcbb453..b349f3c 100644
--- a/huaxin_client/l1_client.py
+++ b/huaxin_client/l1_client.py
@@ -7,7 +7,7 @@
 
 from huaxin_client import socket_util, l1_subscript_codes_manager
 import xmdapi
-from huaxin_client import tool
+from huaxin_client import tool, constant
 from huaxin_client.client_network import SendResponseSkManager
 from log_module.log import logger_system, logger_local_huaxin_l1, logger_l2_codes_subscript
 
@@ -196,7 +196,7 @@
             list_ = [level1_data_dict[k] for k in level1_data_dict]
             flist = []
             for d in list_:
-                if d[2] >= 5:
+                if d[2] >= constant.L1_MIN_RATE:
                     # 娑ㄥ箙灏忎簬5%鐨勯渶瑕佸垹闄�
                     flist.append(d)
             flist.sort(key=lambda x: x[2], reverse=True)

--
Gitblit v1.8.0