京东配送配送类型选特惠送
This commit is contained in:
@@ -354,7 +354,7 @@ func syncStoreSku() {
|
|||||||
})
|
})
|
||||||
errList.AddErr(err)
|
errList.AddErr(err)
|
||||||
|
|
||||||
_, err = cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, db, partner.GetMultiStoreVendorIDs(), nil, false, nil, []int{27379}, syncFlag, true, true)
|
_, err = cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, db, []int{0}, nil, false, nil, []int{27379}, syncFlag, true, true)
|
||||||
// _, err = cms.CurVendorSync.FullSyncStoresSkus(jxcontext.AdminCtx, db, partner.GetMultiStoreVendorIDs(), nil, false, []int{27379}, true, true)
|
// _, err = cms.CurVendorSync.FullSyncStoresSkus(jxcontext.AdminCtx, db, partner.GetMultiStoreVendorIDs(), nil, false, []int{27379}, true, true)
|
||||||
errList.AddErr(err)
|
errList.AddErr(err)
|
||||||
case 1:
|
case 1:
|
||||||
|
|||||||
@@ -56,20 +56,21 @@ func (c *DeliveryHandler) CreateWaybill(order *model.GoodsOrder, maxDeliveryFee
|
|||||||
return bill, fmt.Errorf("未查询到该门店! 门店id :[%v]", storeID)
|
return bill, fmt.Errorf("未查询到该门店! 门店id :[%v]", storeID)
|
||||||
}
|
}
|
||||||
vendorWaybillID, err := api.JdEclpAPI.WaybillReceive(&jdeclpapi.WaybillReceiveParam{
|
vendorWaybillID, err := api.JdEclpAPI.WaybillReceive(&jdeclpapi.WaybillReceiveParam{
|
||||||
SalePlat: jdeclpapi.SalePlatSourceDelivery,
|
SalePlat: jdeclpapi.SalePlatSourceDelivery,
|
||||||
CustomerCode: jdeclpapi.CustomerCode,
|
CustomerCode: jdeclpapi.CustomerCode,
|
||||||
OrderID: order.VendorOrderID,
|
OrderID: order.VendorOrderID,
|
||||||
SenderName: order.StoreName,
|
SenderName: order.StoreName,
|
||||||
SenderAddress: stores[0].Address,
|
SenderAddress: stores[0].Address,
|
||||||
SenderTel: stores[0].Tel1,
|
SenderTel: stores[0].Tel1,
|
||||||
ReceiveName: order.ConsigneeName,
|
ReceiveName: order.ConsigneeName,
|
||||||
ReceiveAddress: order.ConsigneeAddress,
|
ReceiveAddress: order.ConsigneeAddress,
|
||||||
ReceiveTel: order.ConsigneeMobile,
|
ReceiveTel: order.ConsigneeMobile,
|
||||||
Weight: order.Weight,
|
Weight: order.Weight,
|
||||||
Vloumn: order.Weight,
|
Vloumn: order.Weight,
|
||||||
PackageCount: 1,
|
PackageCount: 1,
|
||||||
Description: "生鲜",
|
Description: "生鲜",
|
||||||
Aging: 5,
|
Aging: 5,
|
||||||
|
PromiseTimeType: 1, //特惠送
|
||||||
})
|
})
|
||||||
waybill := &model.Waybill{
|
waybill := &model.Waybill{
|
||||||
VendorOrderID: order.VendorOrderID,
|
VendorOrderID: order.VendorOrderID,
|
||||||
|
|||||||
Reference in New Issue
Block a user