fix
This commit is contained in:
parent
543099c8d7
commit
b86d6748b4
|
@ -312,6 +312,7 @@ func (l *GetTagProductListLogic) dealWithTagMenuData(req dealWithTagMenuDataReq)
|
|||
//tag中产品
|
||||
for _, tmpProduct := range productListRsp {
|
||||
tagTem.TagProductList = append(tagTem.TagProductList, tmpProduct.ProductId)
|
||||
req.MapTagProduct[tmpProduct.ProductId] = tmpProduct
|
||||
}
|
||||
}
|
||||
//加入分类
|
||||
|
@ -354,7 +355,7 @@ func (l *GetTagProductListLogic) organizationLevelRelation(minLevel int, mapTagL
|
|||
mapTypeId := make(map[int64]struct{})
|
||||
for _, v2 := range mapTagLevel {
|
||||
if strings.Contains(v2.LevelPrefix, v.LevelPrefix) {
|
||||
mapTypeId[v.TypeId] = struct{}{}
|
||||
mapTypeId[v2.TypeId] = struct{}{}
|
||||
}
|
||||
}
|
||||
for _, p := range productList {
|
||||
|
|
Loading…
Reference in New Issue
Block a user