Administrator
2023-09-15 403f53e86f04ce0efb285d5d60c8519ab8ce1e15
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(1, 20)
        return __public_order_ref
    finally:
        __order_ref_lock.release()