This commit is contained in:
laodaming 2023-09-27 11:23:22 +08:00
parent 36ae64f3e7
commit 0967df9113

View File

@ -230,7 +230,7 @@ func (l *GetTagProductListLogic) getProductRelationInfo(req getProductRelationIn
})
}
//获取产品模型价格列表
modelList, err := l.svcCtx.AllModels.FsProductModel3d.GetAllByProductIdsTags(l.ctx, productIds, []int{constants.TAG_MODEL, constants.TAG_PARTS}, "id,product_id,price,tag,step_price")
modelList, err := l.svcCtx.AllModels.FsProductModel3d.GetAllByProductIdsTags(l.ctx, productIds, []int{constants.TAG_MODEL, constants.TAG_PARTS}, "id,product_id,price,tag,part_id,step_price")
if err != nil {
logx.Error(err)
return nil, errors.New("failed to get model list")