This commit is contained in:
laodaming
2023-10-19 11:59:10 +08:00
parent 05ec312127
commit ee37c10399
3 changed files with 4 additions and 4 deletions

View File

@@ -172,9 +172,9 @@ func (l *GetRecommandProductListLogic) GetRecommandProductList(req *types.GetRec
if sc, ok := mapProductSizeCount[v.Id]; ok {
sizeCount = sc
}
haveOptionalFitting := int64(0)
haveOptionalFitting := false
if _, ok := mapProductHaveOptionFitting[v.Id]; ok {
haveOptionalFitting = 1
haveOptionalFitting = true
}
item := types.GetRecommandProductListRsp{
Id: v.Id,