改门店调价包

This commit is contained in:
苏尹岚
2020-07-24 10:48:06 +08:00
parent 29673dd992
commit 3a98d6fee8
2 changed files with 65 additions and 0 deletions

View File

@@ -775,3 +775,20 @@ func (c *SkuController) CopyStoreCategories() {
return retVal, "", err
})
}
// @Title 修改门店专属调价包
// @Description 修改门店专属调价包
// @Param token header string true "认证token"
// @Param storeID formData int true "门店ID"
// @Param vendorID formData int true "平台ID"
// @Param pricePack formData string true "门店调价包"
// @Param value formData string false "调价包json串"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /UpdateStorePricePack [put]
func (c *StoreController) UpdateStorePricePack() {
c.callUpdateStorePricePack(func(params *tStoreUpdateStorePricePackParams) (retVal interface{}, errCode string, err error) {
err = cms.UpdateStorePricePack(params.Ctx, params.StoreID, params.VendorID, params.PricePack, params.Value)
return retVal, "", err
})
}