This commit is contained in:
eson 2023-09-01 14:12:38 +08:00
parent e8167e7a4c
commit 8bd87c77e5

View File

@ -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
}