This commit is contained in:
苏尹岚
2021-01-19 14:21:20 +08:00
parent bb2fab1ef3
commit c2417f70aa
4 changed files with 40 additions and 1 deletions

View File

@@ -990,3 +990,17 @@ func (c *StoreController) UpdateBrand() {
return retVal, "", err
})
}
// @Title 修改门店分类为京西分类
// @Description 修改门店分类为京西分类
// @Param token header string true "认证token"
// @Param storeID formData int true "门店ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /InsertStoreCategories [post]
func (c *StoreController) InsertStoreCategories() {
c.callInsertStoreCategories(func(params *tStoreInsertStoreCategoriesParams) (retVal interface{}, errCode string, err error) {
err = cms.InsertStoreCategories(params.Ctx, nil, params.StoreID)
return retVal, "", err
})
}