This commit is contained in:
eson 2023-09-01 16:01:55 +08:00
parent 75a409f0ee
commit b155e571ff

View File

@ -116,6 +116,7 @@ func (l *InfoLogic) Info(req *types.UserInfoRequest, userinfo *auth.UserInfo) (r
raw := l.svcCtx.MysqlConn.Raw(sqlstr)
if raw.Error != nil {
logx.Error(cond)
if raw.Error == gorm.ErrRecordNotFound {
continue
} else {