up
This commit is contained in:
@@ -61,7 +61,7 @@ func GetCategories(ctx *jxcontext.Context, parentID int) (catList []*dao.SkuCate
|
|||||||
ids = append(ids, v.ID)
|
ids = append(ids, v.ID)
|
||||||
}
|
}
|
||||||
thingMapMap, err2 := dao.GetThingMapMap(db, model.ThingTypeCategory, nil, ids)
|
thingMapMap, err2 := dao.GetThingMapMap(db, model.ThingTypeCategory, nil, ids)
|
||||||
globals.SugarLogger.Debug(utils.Format4Output(thingMapMap, false))
|
// globals.SugarLogger.Debug(utils.Format4Output(thingMapMap, false))
|
||||||
if err = err2; err == nil {
|
if err = err2; err == nil {
|
||||||
for _, v := range cats {
|
for _, v := range cats {
|
||||||
catList = append(catList, &dao.SkuCategoryWithVendor{
|
catList = append(catList, &dao.SkuCategoryWithVendor{
|
||||||
|
|||||||
Reference in New Issue
Block a user