This commit is contained in:
gazebo
2019-09-17 21:48:24 +08:00
parent 26221afaef
commit d919b5d9f1

View File

@@ -102,6 +102,7 @@ type StoreSkuNameInfo struct {
UnitPrice int64 UnitPrice int64
} }
// todo 应该通过需要同步的skuid来驱动同步分类而不是当前这种分开的逻辑
// 单门店模式厂商适用 // 单门店模式厂商适用
// 从store_sku_bind中得到所有依赖的商家分类信息 // 从store_sku_bind中得到所有依赖的商家分类信息
func GetSkusCategories(db *DaoDB, vendorID, storeID int, skuIDs []int, level int) (cats []*SkuStoreCatInfo, err error) { func GetSkusCategories(db *DaoDB, vendorID, storeID int, skuIDs []int, level int) (cats []*SkuStoreCatInfo, err error) {