新增按订单刷新历史订单结算价
This commit is contained in:
@@ -741,6 +741,23 @@ func (c *OrderController) AmendMissingOrders() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 同步刷新历史订单的结算价按订单
|
||||
// @Description 同步刷新历史订单的结算价按订单
|
||||
// @Param token header string true "认证token"
|
||||
// @Param fromDate formData string true "订单起始日期"
|
||||
// @Param toDate formData string true "订单结束日期"
|
||||
// @Param isAsync formData bool true "是否异步操作"
|
||||
// @Param isContinueWhenError formData bool false "单个失败是否继续,缺省true"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /RefreshHistoryOrdersEarningPrice [post]
|
||||
func (c *OrderController) RefreshHistoryOrdersEarningPrice() {
|
||||
c.callRefreshHistoryOrdersEarningPrice(func(params *tOrderRefreshHistoryOrdersEarningPriceParams) (retVal interface{}, errCode string, err error) {
|
||||
err = orderman.RefreshHistoryOrdersEarningPrice(params.Ctx, params.FromDate, params.ToDate, params.IsAsync, params.IsContinueWhenError)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 商家主动发起部分退款售后
|
||||
// @Description 商家主动发起部分退款售后
|
||||
// @Param token header string true "认证token"
|
||||
|
||||
Reference in New Issue
Block a user