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
|
||||
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 {
|
||||
return nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user