This commit is contained in:
laodaming 2023-08-22 16:20:45 +08:00
parent 4df65a3b55
commit 09f1758ad5

View File

@ -2,7 +2,6 @@ package logic
import (
"errors"
"fmt"
"fusenapi/model/gmodel"
"fusenapi/utils/auth"
"fusenapi/utils/basic"
@ -83,7 +82,6 @@ func (l *HomePageRecommendProductListLogic) HomePageRecommendProductList(req *ty
if len(recommendProductList) == 0 {
return resp.SetStatusWithMessage(basic.CodeOK, "success", []interface{}{})
}
fmt.Println(recommendProductList)
productIds := make([]int64, 0, len(recommendProductList))
for _, product := range recommendProductList {
productIds = append(productIds, product.Id)