From 1293670a818434d1989257dfcb8f6da21a5ad3fa Mon Sep 17 00:00:00 2001 From: shaoyongjun Date: Sun, 18 Aug 2024 20:42:44 +0800 Subject: [PATCH] to:sync --- infrastructure/repository/g_login_token_repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/repository/g_login_token_repository.go b/infrastructure/repository/g_login_token_repository.go index cf1294d..c542dad 100644 --- a/infrastructure/repository/g_login_token_repository.go +++ b/infrastructure/repository/g_login_token_repository.go @@ -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