fix
This commit is contained in:
parent
f519e27719
commit
21db59c507
|
@ -73,7 +73,7 @@ func (l *GetFittingByPidLogic) GetFittingByPid(req *types.GetFittingByPidReq, us
|
||||||
partIds = append(partIds, *v.PartId)
|
partIds = append(partIds, *v.PartId)
|
||||||
}
|
}
|
||||||
//获取配件数据
|
//获取配件数据
|
||||||
fittingList, err := l.svcCtx.AllModels.FsProductModel3d.GetAllByIds(l.ctx, partIds, "is_popular DESC,price ASC")
|
fittingList, err := l.svcCtx.AllModels.FsProductModel3d.GetAllByIds(l.ctx, partIds, "is_hot DESC,price ASC")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get part list")
|
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get part list")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user