This commit is contained in:
laodaming 2023-08-17 18:22:00 +08:00
parent 72e9156e32
commit d760f4e28c

View File

@ -170,7 +170,7 @@ func (l *GetTagProductListLogic) GetTagProductList(req *types.GetTagProductListR
} }
} }
//获取模板(只是获取产品product_id) //获取模板(只是获取产品product_id)
productTemplatesV2, err = l.svcCtx.AllModels.FsProductTemplateV2.FindAllByProductIds(l.ctx, productIds, "sort ASC", "product_id") productTemplatesV2, err = l.svcCtx.AllModels.FsProductTemplateV2.FindAllByProductIds(l.ctx, productIds, "sort ASC", "product_id,id")
if err != nil { if err != nil {
logx.Error(err) logx.Error(err)
return resp.SetStatusWithMessage(basic.CodeServiceErr, "get product template_v2 err") return resp.SetStatusWithMessage(basic.CodeServiceErr, "get product template_v2 err")