京东商城京配订单
This commit is contained in:
@@ -127,6 +127,13 @@ func result2Orders(msg *jdshopapi.CallBackResult) (order *model.GoodsOrder, err
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if msg.IDSopShipmenttype == jdshopapi.IdSopShipmenttypeTC {
|
||||||
|
if time, err := api.JdShopAPI.GetOrderExtInfoByOrderId(order.VendorOrderID2); err == nil {
|
||||||
|
order.BusinessType = model.BusinessTypeDingshida
|
||||||
|
order.ExpectedDeliveredTime = utils.Str2Time(time)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//结算类型
|
//结算类型
|
||||||
storeDetail, _ := dao.GetStoreDetail(dao.GetDB(), order.StoreID, model.VendorIDJDShop)
|
storeDetail, _ := dao.GetStoreDetail(dao.GetDB(), order.StoreID, model.VendorIDJDShop)
|
||||||
if storeDetail != nil {
|
if storeDetail != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user