Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop

This commit is contained in:
eson 2023-08-22 16:27:20 +08:00
commit 6313c37ec0

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)