# 生成订单号 def get_order_code(): order_no = str(time.strftime('%Y%m%d%H%M%S', time.localtime(time.time())))+ str(time.time()).replace('.', '')[-7:] return order_no
python 生成电商的订单号
最新推荐文章于 2024-03-24 09:00:00 发布
# 生成订单号 def get_order_code(): order_no = str(time.strftime('%Y%m%d%H%M%S', time.localtime(time.time())))+ str(time.time()).replace('.', '')[-7:] return order_no