改门店调价包
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user