diff --git a/server/product/internal/logic/gettagproductlistlogic.go b/server/product/internal/logic/gettagproductlistlogic.go index 5b62e928..c2447d0a 100644 --- a/server/product/internal/logic/gettagproductlistlogic.go +++ b/server/product/internal/logic/gettagproductlistlogic.go @@ -402,9 +402,9 @@ func (l *GetTagProductListLogic) organizationLevelRelation(minLevel int, mapTagL //最终值提取最高级别那一层出来 for prefix, _ := range mapTop { //大类下没有任何产品则不显示 - if len(mapTagLevel[prefix].TagProductList) == 0 { + /*if len(mapTagLevel[prefix].TagProductList) == 0 { continue - } + }*/ productCount += len(mapTagLevel[prefix].TagProductList) mapTagRsp[mapTagLevel[prefix].TypeId] = *mapTagLevel[prefix] }