javascript:(async function(){try{const t=await(await fetch("/api/auth/session")).json();if(!t.accessToken){alert("请先登录 ChatGPT!");return}const p={plan_name:"chatgptteamplan",team_plan_data:{workspace_name:"Sam Altman",price_interval:"month",seat_quantity:5},billing_details:{country:"FR",currency:"EUR"},promo_campaign:{promo_campaign_id:"team-1-month-free",is_coupon_from_query_param:!0},checkout_ui_mode:"custom"};const r=await fetch("https://chatgpt.com/backend-api/payments/checkout",{method:"POST",headers:{Authorization:"Bearer "+t.accessToken,"Content-Type":"application/json"},body:JSON.stringify(p)});const d=await r.json();d.checkout_session_id?window.location.href="https://chatgpt.com/checkout/openai_ie/"+d.checkout_session_id:alert("提取失败:"+(d.detail||JSON.stringify(d)))}catch(e){alert("发生错误:"+e)}})();