diff --git a/controllers/jx_order.go b/controllers/jx_order.go index a21453730..d3a65df58 100644 --- a/controllers/jx_order.go +++ b/controllers/jx_order.go @@ -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)