From a7a394e1525cfb85aff1ba02f0961dbb07748bc8 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 10 二月 2023 19:06:09 +0800 Subject: [PATCH] 日志优化,部分大单并行化处理 --- tool.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tool.py b/tool.py index d647715..9f911ab 100644 --- a/tool.py +++ b/tool.py @@ -44,6 +44,10 @@ return time_str +def get_now_timestamp(): + return round(time.time() * 1000) + + # 杞负浠锋牸锛屽洓鑸嶄簲鍏ヤ繚鐣�2浣嶅皬鏁� def to_price(_decimal): return _decimal.quantize(decimal.Decimal("0.00"), decimal.ROUND_HALF_UP) -- Gitblit v1.8.0