From 500e2f3db6ce9ab2f6f06e7b3b23ce15f71db59d Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 03 八月 2023 11:19:21 +0800 Subject: [PATCH] redis封装 --- code_attribute/code_data_util.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/code_attribute/code_data_util.py b/code_attribute/code_data_util.py index cb124d5..a67a03e 100644 --- a/code_attribute/code_data_util.py +++ b/code_attribute/code_data_util.py @@ -19,7 +19,7 @@ if code == '600066': print('杩涘叆璋冭瘯') # 鏄ㄦ棩鏀剁洏浠� - price_close = gpcode_manager.get_price_pre_cache(code) + price_close = gpcode_manager.CodePrePriceManager.get_price_pre_cache(code) max_price = tool.to_price(decimal.Decimal(str(price_close)) * decimal.Decimal("1.1")) min_price = tool.to_price(decimal.Decimal(str(price_close)) * decimal.Decimal("0.9")) if min_price <= decimal.Decimal(str(price)) <= max_price: -- Gitblit v1.8.0