This commit is contained in:
eson
2023-09-04 16:59:43 +08:00
parent 397dda8ebf
commit 03bd7cd5eb
7 changed files with 73 additions and 38 deletions

View File

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