京东商城出库修改

This commit is contained in:
苏尹岚
2020-06-23 13:54:11 +08:00
parent 3ea07ea2dd
commit 790e5c33bb
3 changed files with 10 additions and 7 deletions

View File

@@ -30,6 +30,13 @@ func (c *DeliveryHandler) GetVendorID() int {
return model.VendorIDJDWL
}
func OnWaybillMsg() {
}
func (c *DeliveryHandler) OnWaybillMsg() {
}
func (c *DeliveryHandler) CreateStore(ctx *jxcontext.Context, storeDetail *dao.StoreDetail2) (vendorStoreID string, status int, err error) {
return vendorStoreID, status, err
}
@@ -94,7 +101,3 @@ func (c *DeliveryHandler) GetWaybillFee(order *model.GoodsOrder) (deliveryFeeInf
func (c *DeliveryHandler) ComplaintRider(bill *model.Waybill, resonID int, resonContent string) (err error) {
return err
}
func (c *DeliveryHandler) OnWaybillMsg() {
}

View File

@@ -167,7 +167,7 @@ func (p *PurchaseHandler) OrderTransfer(ctx *jxcontext.Context, vendorOrderID, v
if !isAuto {
companyID = jdshopapi.JdsDeliveryCompanyJD
}
err = api.JdShopAPI.UpdateWaybill(vendorOrderID[:12], companyID, vendorWaybillID)
err = api.JdShopAPI.UpdateWaybill(vendorOrderID[:12], companyID, vendorOrderID)
return err
}