刷新京东商城订单结算价

This commit is contained in:
苏尹岚
2020-05-08 11:00:13 +08:00
parent a247c24a08
commit 29065aa419
6 changed files with 60 additions and 3 deletions

View File

@@ -1016,3 +1016,18 @@ func (c *OrderController) GetMatterStoreOrderCount() {
return retVal, "", err
})
}
// @Title 刷新京东商城订单结算价
// @Description 刷新京东商城订单结算价
// @Param token header string true "认证token"
// @Param fromTime formData string true "订单起始时间 格式20060102"
// @Param toTime formData string false "订单结束时间"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /RefreshJdShopOrdersEarningPrice [put]
func (c *OrderController) RefreshJdShopOrdersEarningPrice() {
c.callRefreshJdShopOrdersEarningPrice(func(params *tOrderRefreshJdShopOrdersEarningPriceParams) (retVal interface{}, errCode string, err error) {
err = orderman.RefreshJdShopOrdersEarningPrice(params.Ctx, params.FromTime, params.ToTime)
return retVal, "", err
})
}