This commit is contained in:
suyl
2021-07-21 11:02:43 +08:00
parent 66ff82e0be
commit 3401ad1086

View File

@@ -932,7 +932,7 @@ func (c *OrderController) GetComplaintReasons() {
// @router /ComplaintRider [post]
func (c *OrderController) ComplaintRider() {
c.callComplaintRider(func(params *tOrderComplaintRiderParams) (retVal interface{}, errCode string, err error) {
if params.VendorID > 100 {
if params.WaybillVendorID > 100 {
err = orderman.ComplaintRider(params.Ctx, params.VendorOrderID, params.VendorID, params.WaybillVendorID, params.ComplaintID)
} else {
err = orderman.ComplaintRiderPlatform(params.Ctx, params.VendorOrderID, params.VendorID, params.WaybillVendorID, params.ComplaintID)