fix
This commit is contained in:
parent
e8167e7a4c
commit
8bd87c77e5
|
@ -128,7 +128,8 @@ func (l *InfoLogic) Info(req *types.UserInfoRequest, userinfo *auth.UserInfo) (r
|
|||
}
|
||||
}
|
||||
|
||||
err := raw.Scan(&info).Error
|
||||
var a any
|
||||
err := raw.Scan(&a).Error
|
||||
if err == gorm.ErrRecordNotFound {
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user