diff --git a/business/model/dao/sku.go b/business/model/dao/sku.go index 2bf5c2d65..01c94be67 100644 --- a/business/model/dao/sku.go +++ b/business/model/dao/sku.go @@ -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, t1.id category_id + SELECT t1.*, t1.seq store_category_seq, t1.id category_id, t1.name store_category_name FROM sku_category t1 WHERE t1.deleted_at = ?` params := []interface{}{