Administrator
5 天以前 48fb7a00951f91bdc707e5dd2d196e5bccb752c3
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()