diff --git a/server/product/internal/logic/gettagproductlistlogic.go b/server/product/internal/logic/gettagproductlistlogic.go index 27ce7ba5..7badfd95 100644 --- a/server/product/internal/logic/gettagproductlistlogic.go +++ b/server/product/internal/logic/gettagproductlistlogic.go @@ -220,7 +220,7 @@ func (l *GetTagProductListLogic) dealWithTagMenuData(req dealWithTagMenuDataReq) *req.MinLevel = lenLevel } tagTem := types.TagItem{ - TagProductList: nil, + TagProductList: []interface{}{}, TypeName: *tagInfo.Title, TypeId: tagInfo.Id, Icon: *tagInfo.Icon,