刷新京东商城订单

This commit is contained in:
苏尹岚
2020-09-14 14:59:43 +08:00
parent 65b2525a02
commit 0f737cd73e
4 changed files with 39 additions and 7 deletions

View File

@@ -1168,3 +1168,17 @@ func (c *OrderController) AcceptOrRefuseOrder() {
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 /RefreshJdsOrderConsigneeInfo [put]
func (c *OrderController) RefreshJdsOrderConsigneeInfo() {
c.callRefreshJdsOrderConsigneeInfo(func(params *tOrderRefreshJdsOrderConsigneeInfoParams) (retVal interface{}, errCode string, err error) {
err = orderman.RefreshJdsOrderConsigneeInfo(params.Ctx, params.VendorOrderID)
return retVal, "", err
})
}