fix
This commit is contained in:
parent
b155e571ff
commit
f3f47d0ead
@ -115,8 +115,9 @@ func (l *InfoLogic) Info(req *types.UserInfoRequest, userinfo *auth.UserInfo) (r
|
|||||||
|
|
||||||
raw := l.svcCtx.MysqlConn.Raw(sqlstr)
|
raw := l.svcCtx.MysqlConn.Raw(sqlstr)
|
||||||
|
|
||||||
if raw.Error != nil {
|
|
||||||
logx.Error(cond)
|
logx.Error(cond)
|
||||||
|
if raw.Error != nil {
|
||||||
|
|
||||||
if raw.Error == gorm.ErrRecordNotFound {
|
if raw.Error == gorm.ErrRecordNotFound {
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user