投诉骑手
This commit is contained in:
@@ -875,3 +875,32 @@ func (c *OrderController) RefreshOrdersWithoutJxStoreID() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 获取投诉原因
|
||||
// @Description 获取投诉原因
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetComplaintReasons [get]
|
||||
func (c *OrderController) GetComplaintReasons() {
|
||||
c.callGetComplaintReasons(func(params *tOrderGetComplaintReasonsParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal = orderman.GetComplaintReasons()
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 投诉骑手(三方运送)
|
||||
// @Description 投诉骑手(三方运送)
|
||||
// @Param token header string true "认证token"
|
||||
// @Param orderID formData string true "订单号"
|
||||
// @Param vendorID formData int true "平台厂商ID"
|
||||
// @Param complaintID formData int true "投诉原因ID"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /ComplaintRider [post]
|
||||
func (c *OrderController) ComplaintRider() {
|
||||
c.callComplaintRider(func(params *tOrderComplaintRiderParams) (retVal interface{}, errCode string, err error) {
|
||||
err = orderman.ComplaintRider(params.Ctx, params.OrderID,params.VendorID, params.ComplaintID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user