更新某个主体部广告账号 优化

This commit is contained in:
hgc 2025-02-22 12:16:42 +08:00
parent 5bc5216009
commit 2178e81d89

View File

@ -222,10 +222,14 @@ class GoogleOAuthService
ON CONFLICT (platform,merchant_id,account_id)
DO UPDATE SET
user_id = EXCLUDED.user_id,
platform_user_id = EXCLUDED.platform_user_id,
platform_user_name = EXCLUDED.platform_user_name,
account_name = EXCLUDED.account_name,
access_token = EXCLUDED.access_token,
refresh_token = EXCLUDED.refresh_token,
is_unbind = EXCLUDED.is_unbind,
is_del = 'f',
ext_info = EXCLUDED.ext_info,
currency = EXCLUDED.currency,
updated_at = CURRENT_TIMESTAMP";