aa
This commit is contained in:
@@ -1289,7 +1289,7 @@ func (c *StoreController) UpdateBrandCategoryMap() {
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /ReorderBrandCategories [put]
|
||||
func (c *StoreController) ReorderBrandCategories() {
|
||||
c.callReorderBrandCategories(func(params *tSkuReorderBrandCategoriesParams) (retVal interface{}, errCode string, err error) {
|
||||
c.callReorderBrandCategories(func(params *tStoreReorderBrandCategoriesParams) (retVal interface{}, errCode string, err error) {
|
||||
var idList []int
|
||||
if err = utils.UnmarshalUseNumber([]byte(params.CategoryIDs), &idList); err == nil {
|
||||
err = cms.ReorderBrandCategories(params.Ctx, params.CategoryID, params.BrandID, idList)
|
||||
|
||||
Reference in New Issue
Block a user