Commit ab5e2f3b by 孙龙

up

parent eff58a82
Showing with 5 additions and 3 deletions
......@@ -60,17 +60,19 @@ class erp2web_service(base):
datas = {
'order_pay_type' : 1,
'user_id' : user_id,
"ddf":"dd",
'order_sn' : order_sn,
'order_type' : BaseConf.erp_order_source[arr['SOURCE']],
'currency' : BaseConf.erp_currency[arr['CURRENCY']],
"bgg":"456",
'delivery_place' : BaseConf.erp_delivery[arr['CURRENCY']],
'order_shipping_type' : BaseConf.erp_shipping_type[arr['DELIVERTYPE']],
"haha":"haha",
'create_time' : int(time.mktime(time.strptime(arr['BIZDATE'], '%Y-%m-%d'))) if 'BIZDATE' in arr.keys() and arr['BIZDATE'] != '' else 0,
'confirm_time' : int(time.mktime(time.strptime(arr['AUDITTIME'], '%Y-%m-%d %H:%M:%S'))) if 'AUDITTIME' in arr.keys() and arr['AUDITTIME'] != '' else 0,
'sale_id' : sale_uid,
'currency' : BaseConf.erp_currency[arr['CURRENCY']],
'abc':"123"
"bgg":"456",
"dfdf":"dd"
'delivery_place' : BaseConf.erp_delivery[arr['CURRENCY']],
}
#补充完成时间
if datas['status'] == '10':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment