This commit is contained in:
eson 2023-09-01 16:05:01 +08:00
parent b155e571ff
commit f3f47d0ead

View File

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