This commit is contained in:
suyl
2021-07-16 10:34:18 +08:00
parent 89f9dd5b6e
commit 14ec99a8be
9 changed files with 45 additions and 3 deletions

View File

@@ -263,3 +263,11 @@ func ComplaintRider(ctx *jxcontext.Context, vendorOrderID string, vendorID, wayb
}
return err
}
func ComplaintRiderPlatform(ctx *jxcontext.Context, vendorOrderID string, vendorID, waybillVendorID, complaintID int) (err error) {
if vendorID != model.VendorIDJD {
return fmt.Errorf("目前只支持京东投诉!")
}
handler := partner.GetPurchaseOrderHandlerFromVendorID(vendorID)
return handler.ComplaintRider(vendorOrderID, complaintID, "")
}