This commit is contained in:
richboo111
2023-02-14 14:34:23 +08:00
parent 97512b934a
commit e3ef24c337
3 changed files with 7 additions and 7 deletions

View File

@@ -244,6 +244,7 @@ func (a *API) ShopCategoryCreate(shopID string, parentID int64, name string, ran
}
func (a *API) ShopCategoryGet(shopID string) (cats []*CategoryInfo, err error) {
globals.SugarLogger.Debugf("ShopCategoryGet shopID====%s", shopID)
result, err := a.AccessAPI("sku.shop.category.get", utils.Params2Map(KeyShopID, shopID))
if err == nil {
if inMap, ok := result.Data.(map[string]interface{}); ok {