fix
This commit is contained in:
parent
49877b4ef7
commit
e91bc83912
@ -424,20 +424,6 @@ func (l *GetTagProductListLogic) getTagProducts(req getTagProductsReq) (productL
|
|||||||
if _, ok = req.MapTagProp[productInfo.Id]; ok {
|
if _, ok = req.MapTagProp[productInfo.Id]; ok {
|
||||||
item.CoverDefault = req.MapTagProp[productInfo.Id]
|
item.CoverDefault = req.MapTagProp[productInfo.Id]
|
||||||
}
|
}
|
||||||
//千人千面处理
|
|
||||||
/*r := image.ThousandFaceImageFormatReq{
|
|
||||||
Size: int(req.Size),
|
|
||||||
IsThousandFace: 0,
|
|
||||||
Cover: *productInfo.Cover,
|
|
||||||
CoverImg: *productInfo.CoverImg,
|
|
||||||
ProductId: productInfo.Id,
|
|
||||||
UserId: req.User.Id,
|
|
||||||
}
|
|
||||||
if req.User.Id != 0 {
|
|
||||||
r.IsThousandFace = int(*req.User.IsThousandFace)
|
|
||||||
}
|
|
||||||
image.ThousandFaceImageFormat(&r)
|
|
||||||
item.Cover = r.Cover*/
|
|
||||||
//加入分类产品切片
|
//加入分类产品切片
|
||||||
productListRsp = append(productListRsp, item)
|
productListRsp = append(productListRsp, item)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user