This commit is contained in:
苏尹岚
2021-03-25 11:48:52 +08:00
parent d54c9a8d07
commit e35d761fea

View File

@@ -99,7 +99,7 @@ func GetCategories(db *DaoDB, parentID, level int, catIDs []int, isExd bool) (ca
func GetCategoriesForStore(db *DaoDB, parentID, level int, catIDs []int) (cats []*model.StoreCategoryMap, err error) {
sql := `
SELECT t1.*, t1.seq store_category_seq
SELECT t1.*, t1.seq store_category_seq, t1.id category_id
FROM sku_category t1
WHERE t1.deleted_at = ?`
params := []interface{}{