utils/huaxin_util.py
@@ -1,4 +1,5 @@ # 报单状态 import random import threading from utils import tool @@ -63,7 +64,7 @@ __order_ref_lock.acquire() try: global __public_order_ref __public_order_ref += 1 __public_order_ref += random.randint(5, 20) return __public_order_ref finally: __order_ref_lock.release()