物料订单重发接口

This commit is contained in:
苏尹岚
2020-03-24 10:33:11 +08:00
parent afb20a6616
commit c1811a33dc
4 changed files with 128 additions and 22 deletions

View File

@@ -187,3 +187,17 @@ func (c *JxOrderController) RefreshAllMatterOrderStatus() {
return retVal, "", err
})
}
// @Title 重发物料订单
// @Description 重发物料订单
// @Param token header string true "认证token"
// @Param vendorOrderID formData string true "订单ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /SendFailedMatterOrder [post]
func (c *JxOrderController) SendFailedMatterOrder() {
c.callSendFailedMatterOrder(func(params *tJxorderSendFailedMatterOrderParams) (retVal interface{}, errCode string, err error) {
err = localjx.SendFailedMatterOrder(params.Ctx, params.VendorOrderID)
return retVal, "", err
})
}