+store/sku/GetStoreCategories

This commit is contained in:
gazebo
2019-12-16 18:05:26 +08:00
parent 7296b5cca3
commit b0cd64a358
5 changed files with 72 additions and 1 deletions

View File

@@ -2473,3 +2473,7 @@ func IsChineseChar(str string) bool {
}
return false
}
func GetStoreCategories(ctx *jxcontext.Context, storeID, parentID int) (catList []*model.SkuCategory, err error) {
return dao.GetStoreSkuCategories(dao.GetDB(), storeID, parentID)
}