投诉
This commit is contained in:
@@ -920,8 +920,8 @@ func (c *OrderController) GetComplaintReasons() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 投诉骑手(三方运送)
|
||||
// @Description 投诉骑手(三方运送)
|
||||
// @Title 投诉骑手
|
||||
// @Description 投诉骑手
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorOrderID formData string true "订单ID"
|
||||
// @Param vendorID formData int true "订单所属厂商ID"
|
||||
@@ -932,7 +932,11 @@ func (c *OrderController) GetComplaintReasons() {
|
||||
// @router /ComplaintRider [post]
|
||||
func (c *OrderController) ComplaintRider() {
|
||||
c.callComplaintRider(func(params *tOrderComplaintRiderParams) (retVal interface{}, errCode string, err error) {
|
||||
err = orderman.ComplaintRider(params.Ctx, params.VendorOrderID, params.VendorID, params.WaybillVendorID, params.ComplaintID)
|
||||
if params.VendorID > 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)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user