饿鲜达分类查询初尝试

This commit is contained in:
苏尹岚
2020-02-13 16:44:21 +08:00
parent 79ec7ec932
commit f78d71d191
5 changed files with 12 additions and 7 deletions

View File

@@ -1156,7 +1156,7 @@ func GetStoreSkuCategories(db *DaoDB, storeID, parentID int) (catList []*model.S
for _, v := range catList {
parentIDMap[v.ParentID] = 1
}
paretnCats, err2 := GetCategories(db, -1, 0, jxutils.IntMap2List(parentIDMap))
paretnCats, err2 := GetCategories(db, -1, 0, jxutils.IntMap2List(parentIDMap), false)
if err = err2; err == nil {
catList = append(catList, paretnCats...)
} else {