From ce12e0997283b79681a8b555b98404d2873a5c9b Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 30 Oct 2023 16:09:46 +0800 Subject: [PATCH] fix --- server/product/internal/logic/gettagproductlistlogic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] }