This commit is contained in:
laodaming 2023-08-30 16:45:45 +08:00
parent 2e790cd255
commit 1f14430052

View File

@ -382,6 +382,7 @@ type getTagProductsReq struct {
User gmodel.FsUser User gmodel.FsUser
} }
// 返回每个标签下的直接从属产品不包含子tag的产品
func (l *GetTagProductListLogic) getTagProducts(req getTagProductsReq) (productListRsp []types.TagProduct) { func (l *GetTagProductListLogic) getTagProducts(req getTagProductsReq) (productListRsp []types.TagProduct) {
//默认给50个容量 //默认给50个容量
productListRsp = make([]types.TagProduct, 0, 50) productListRsp = make([]types.TagProduct, 0, 50)