This commit is contained in:
laodaming
2023-08-14 11:04:25 +08:00
parent 538d9ff4cf
commit cfc7b22090
9 changed files with 57 additions and 26 deletions

View File

@@ -54,9 +54,10 @@ func (l *HomePageRecommendProductListLogic) HomePageRecommendProductList(req *ty
)
//获取列表推荐产品
recommendProductList, _, err = l.svcCtx.AllModels.FsProductRecommend.GetRecommendProductList(gmodel.GetRecommendProductListReq{
Ctx: l.ctx,
Page: 1,
Limit: 500, //设置最大500
Ctx: l.ctx,
MerchantType: req.MerchantType,
Page: 1,
Limit: 500, //设置最大500
})
if len(recommendProductList) == 0 {
return resp.SetStatusWithMessage(basic.CodeOK, "success", []interface{}{})