to:sync
This commit is contained in:
parent
1a938f83c3
commit
1293670a81
@ -48,7 +48,7 @@ func (thirdUserTokenRepositoryImpl) FindByUid(ctx context.Context, uid uint64) *
|
|||||||
}
|
}
|
||||||
|
|
||||||
var model GLoginToken
|
var model GLoginToken
|
||||||
sqlErr := db.Model(&model).Where("uid=? and platform=web", uid).First(&model).Error
|
sqlErr := db.Model(&model).Where("uid=? and platform='web'", uid).First(&model).Error
|
||||||
|
|
||||||
if sqlErr != nil {
|
if sqlErr != nil {
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user