This commit is contained in:
eson 2023-09-01 14:25:46 +08:00
parent 28366d263b
commit dca5011ec1

View File

@ -128,7 +128,7 @@ func (l *InfoLogic) Info(req *types.UserInfoRequest, userinfo *auth.UserInfo) (r
}
}
var info InfoType
var info map[string]any = make(map[string]any)
err := raw.Scan(&info).Error
logx.Error(info, err)
if err == gorm.ErrRecordNotFound {