fix
This commit is contained in:
parent
2e9b107375
commit
04f0b0c01e
|
@ -47,7 +47,7 @@ func (l *GetProductTemplateTagsLogic) GetProductTemplateTags(req *types.GetProdu
|
|||
productTemplateTags []gmodel.FsProductTemplateTags
|
||||
)
|
||||
//获取用户元数据
|
||||
userMaterial, err := l.svcCtx.AllModels.FsUserMaterial.GetListByUser(l.ctx, userinfo.UserId, userinfo.GuestId, req.Limit)
|
||||
userMaterial, err := l.svcCtx.AllModels.FsUserMaterial.FindLatestOne(l.ctx, userinfo.UserId, userinfo.GuestId)
|
||||
if err != nil {
|
||||
if !errors.Is(err, gorm.ErrRecordNotFound) {
|
||||
logx.Error(err)
|
||||
|
|
Loading…
Reference in New Issue
Block a user