1
This commit is contained in:
@@ -885,6 +885,24 @@ func (c *SkuController) BatchSetRestockingPrice() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 批量设置美团商品打包费为零
|
||||
// @Description 批量设置美团商品打包费为零
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeIds formData string true "门店id列表"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /BatchSetBoxPrice [post]
|
||||
func (c *SkuController) BatchSetBoxPrice() {
|
||||
c.callBatchSetBoxPrice(func(params *tSkuBatchSetBoxPriceParams) (retVal interface{}, errCode string, err error) {
|
||||
var stores []int
|
||||
if err = jxutils.Strings2Objs(params.StoreIds, &stores); err != nil {
|
||||
return retVal, "", err
|
||||
}
|
||||
err = cms.BatchSetMTBoxPrice(params.Ctx, stores)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
type CategoryList struct {
|
||||
DdId string `json:"dd_id"`
|
||||
Id int `json:"id"`
|
||||
|
||||
Reference in New Issue
Block a user