This commit is contained in:
laodaming 2023-10-11 11:22:34 +08:00
parent 7883056ded
commit 501c4643f4

View File

@ -346,6 +346,7 @@ func (l *GetTagProductListLogic) organizationLevelRelation(minLevel int, mapTagL
if _, ok := mapTop[v.LevelPrefix]; ok { if _, ok := mapTop[v.LevelPrefix]; ok {
continue continue
} }
//顶部需要初始化
v.TagProductList = make([]interface{}, 0, 50) v.TagProductList = make([]interface{}, 0, 50)
mapTypeId := make(map[int64]struct{}) mapTypeId := make(map[int64]struct{})
for _, v2 := range mapTagLevel { for _, v2 := range mapTagLevel {