fix
This commit is contained in:
@@ -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{}{})
|
||||
|
||||
@@ -342,12 +342,6 @@ type GetSizeByPidRsp struct {
|
||||
type GetTemplateByPidReq struct {
|
||||
Pid string `form:"pid"`
|
||||
ProductTemplateTagId int64 `form:"product_template_tag_id"`
|
||||
ProductSizeId int64 `form:"product_size_id,optional"`
|
||||
}
|
||||
|
||||
type GetTemplateByPidRsp struct {
|
||||
TemplateId int64 `json:"template_id"` //模板id
|
||||
TemplateInfo interface{} `json:"template_info"` //模板信息
|
||||
}
|
||||
|
||||
type GetFittingByPidReq struct {
|
||||
@@ -395,7 +389,8 @@ type GetLastProductDesignRsp struct {
|
||||
}
|
||||
|
||||
type HomePageRecommendProductListReq struct {
|
||||
Size uint32 `form:"size"`
|
||||
Size uint32 `form:"size"`
|
||||
MerchantType int64 `form:"merchant_type"`
|
||||
}
|
||||
|
||||
type HomePageRecommendProductListRsp struct {
|
||||
|
||||
Reference in New Issue
Block a user