From 0acb55dbb2d251472f902b3bb721fd888ab9a31f Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 08 一月 2024 17:37:32 +0800
Subject: [PATCH] 增加获取当前正在委托详情API/下单后立马移除红名单

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

diff --git a/code_attribute/code_volumn_manager.py b/code_attribute/code_volumn_manager.py
index 6b6912e..c5a58f2 100644
--- a/code_attribute/code_volumn_manager.py
+++ b/code_attribute/code_volumn_manager.py
@@ -102,10 +102,10 @@
     max60, yesterday = get_histry_volumn(code)
     if max60 is None or yesterday is None:
         raise Exception("鑾峰彇澶辫触")
-    if max60[0] >= yesterday[0]:
+    if int(max60[0]) >= int(yesterday):
         return max60[1]
     else:
-        return yesterday[1]
+        return "涓婁釜浜ゆ槗鏃�"
 
 
 # 鑾峰彇閲忔瘮绱㈠紩

--
Gitblit v1.8.0