- RefreshMtpsWaybillFee

This commit is contained in:
gazebo
2019-05-16 11:29:44 +08:00
parent 3a3691f429
commit cea95c96ca
3 changed files with 52 additions and 0 deletions

View File

@@ -215,3 +215,18 @@ func (c *TempOpController) RetrieveEbaiShopLicence() {
return retVal, "", err
})
}
// @Title 刷新美团配送价格
// @Description 刷新美团配送价格
// @Param token header string true "认证token"
// @Param isAsync formData bool false "是否异步操作"
// @Param isContinueWhenError formData bool false "单个同步失败是否继续缺省false"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /RefreshMtpsWaybillFee [post]
func (c *TempOpController) RefreshMtpsWaybillFee() {
c.callRefreshMtpsWaybillFee(func(params *tTempopRefreshMtpsWaybillFeeParams) (retVal interface{}, errCode string, err error) {
retVal, err = tempop.RefreshMtpsWaybillFee(params.Ctx, params.IsAsync, params.IsContinueWhenError)
return retVal, "", err
})
}