{"id":141,"date":"2026-05-11T12:58:05","date_gmt":"2026-05-11T04:58:05","guid":{"rendered":"https:\/\/hi.tionmon.de\/?p=141"},"modified":"2026-05-11T12:59:35","modified_gmt":"2026-05-11T04:59:35","slug":"%e8%8b%b1%e5%8c%ba-chatgpt-teamspeak-48%e4%b8%aa%e6%9c%8815%e5%88%80-%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/hi.tionmon.de\/?p=141","title":{"rendered":"\u82f1\u533a ChatGPT Teamspeak 48\u4e2a\u670815\u5200 \u6559\u7a0b"},"content":{"rendered":"<p>1.\u767b\u5f55\u00a0 ChatGPT<br \/>\n2.F12 \u9009\u62e9\u63a7\u5236\u53f0\u7c98\u8d34\u4e0b\u65b9\u4ee3\u7801<br \/>\n3.\u4f7f\u7528\u63a7\u5236\u53f0\u663e\u793a\u7684\u957f\u94fe\u63a5\u76f4\u63a5\u652f\u4ed8\u5373\u53ef\uff08\u8d26\u5355\u5730\u5740\u53ef\u586b\u968f\u610f\uff09<br \/>\n<div class=\"xun-code-wrapper\"><div class=\"xun-code-header\"><div class=\"xun-code-header-left\"><span class=\"xun-code-dots\"><span><\/span><span><\/span><span><\/span><\/span><\/div><div class=\"xun-code-header-right\"><span class=\"xun-code-lang\">YAML<\/span><button type=\"button\" class=\"xun-code-copy\" title=\"\u590d\u5236\u4ee3\u7801\"><svg fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\" width=\"16\" height=\"16\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z\"><\/path><\/svg><\/button><\/div><\/div><pre class=\"xun-code-block line-numbers\" ><code class=\"language-yaml\">(async function generateTeamHostedLink() {\r\n  console.log(&quot;\u23f3 [team-link] \u6b63\u5728\u83b7\u53d6 Session Token...&quot;);\r\n \r\n  \/\/ \u2500\u2500 1. \u83b7\u53d6\u5f53\u524d\u767b\u5f55\u7684 Access Token \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n  let accessToken;\r\n  try {\r\n    const session = await fetch(&quot;\/api\/auth\/session&quot;).then((r) =&gt; r.json());\r\n    accessToken = session?.accessToken;\r\n    if (!accessToken) throw new Error(&quot;accessToken \u4e3a\u7a7a&quot;);\r\n  } catch (e) {\r\n    console.error(&quot;\u274c [team-link] \u83b7\u53d6 Token \u5931\u8d25\uff0c\u8bf7\u786e\u4fdd\u5df2\u767b\u5f55 ChatGPT\uff1a&quot;, e.message);\r\n    return;\r\n  }\r\n  console.log(&quot;\u2705 [team-link] Token \u83b7\u53d6\u6210\u529f&quot;);\r\n \r\n  \/\/ \u2500\u2500 2. \u6784\u9020\u8bf7\u6c42 Payload \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n  const payload = {\r\n    plan_name: &quot;chatgptteamplan&quot;,\r\n \r\n    team_plan_data: {\r\n      workspace_name: &quot;MyTeam&quot;,        \/\/ \u2190 \u4f60\u53ef\u4ee5\u6539\u6210\u81ea\u5df1\u60f3\u8981\u7684\u5de5\u4f5c\u533a\u540d\u5b57\r\n      price_interval: &quot;month&quot;,         \/\/ month \u6216 year\r\n      seat_quantity: 2,                \/\/ \u2190 \u81f3\u5c11\u586b 2\uff0c\u63a8\u8350 2~5\r\n    },\r\n \r\n    billing_details: {\r\n      country: &quot;GB&quot;,                   \/\/ \ud83c\uddec\ud83c\udde7 \u5fc5\u987b\u4e3a GB (\u82f1\u56fd) \u624d\u80fd\u5339\u914d geccogb \u4f18\u60e0\u7801\r\n      currency: &quot;GBP&quot;,                 \/\/ \ud83d\udcb7 \u6539\u4e3a GBP (\u82f1\u9551)\r\n    },\r\n \r\n    cancel_url: &quot;https:\/\/chatgpt.com\/#team-pricing&quot;,\r\n \r\n    \/\/ \ud83d\udd25 \u5173\u952e\uff1a\u4f7f\u7528 promo_code\r\n    promo_code: &quot;geccogb&quot;,\r\n \r\n    checkout_ui_mode: &quot;hosted&quot;,\r\n  };\r\n \r\n  \/\/ \u2500\u2500 3. \u53d1\u9001\u8bf7\u6c42 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n  console.log(&quot;\u23f3 [team-link] \u6b63\u5728\u8bf7\u6c42 Stripe \u957f\u94fe\u63a5...&quot;);\r\n  let data;\r\n  try {\r\n    const response = await fetch(\r\n      &quot;https:\/\/chatgpt.com\/backend-api\/payments\/checkout&quot;,\r\n      {\r\n        method: &quot;POST&quot;,\r\n        headers: {\r\n          Authorization: `Bearer ${accessToken}`,\r\n          &quot;Content-Type&quot;: &quot;application\/json&quot;,\r\n        },\r\n        body: JSON.stringify(payload),\r\n      }\r\n    );\r\n    data = await response.json();\r\n \r\n    if (!response.ok) {\r\n      console.error(&quot;\u274c [team-link] \u8bf7\u6c42\u5931\u8d25\uff0cHTTP&quot;, response.status);\r\n      console.error(data);\r\n      return;\r\n    }\r\n  } catch (e) {\r\n    console.error(&quot;\u274c [team-link] \u7f51\u7edc\u8bf7\u6c42\u5f02\u5e38\uff1a&quot;, e.message);\r\n    return;\r\n  }\r\n \r\n  \/\/ \u2500\u2500 4. \u8f93\u51fa\u7ed3\u679c \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n  const hostedUrl = data?.url || data?.stripe_hosted_url || data?.checkout_url;\r\n \r\n  if (!hostedUrl) {\r\n    console.warn(&quot;\u26a0\ufe0f [team-link] \u672a\u627e\u5230\u957f\u94fe\u63a5\uff0c\u539f\u59cb\u54cd\u5e94\u5982\u4e0b\uff1a&quot;);\r\n    console.log(data);\r\n    return;\r\n  }\r\n \r\n  console.log(&quot;\u2500&quot;.repeat(60));\r\n  console.log(&quot;\u2705 [team-link] \u751f\u6210\u6210\u529f\uff01geccogb promo \u5df2\u751f\u6548 (\u82f1\u56fd\/\u82f1\u9551)&quot;);\r\n  console.log(&quot;&quot;);\r\n  console.log(&quot;\ud83d\udccb Checkout Session ID :&quot;, data.checkout_session_id);\r\n  console.log(&quot;\ud83c\udfe2 Plan                : ChatGPT Team&quot;);\r\n  console.log(&quot;\ud83d\udc65 Seats               :&quot;, payload.team_plan_data.seat_quantity);\r\n  console.log(&quot;&quot;);\r\n  console.log(&quot;\ud83d\udd17 Stripe \u957f\u94fe\u63a5\uff08\u76f4\u63a5\u6253\u5f00\u5373\u53ef\u652f\u4ed8\uff09\uff1a&quot;);\r\n  console.log(hostedUrl);\r\n  console.log(&quot;\u2500&quot;.repeat(60));\r\n  console.log(&quot;\ud83d\udca1 \u63d0\u793a\uff1a\u6253\u5f00\u94fe\u63a5\u540e\u68c0\u67e5\u4ef7\u683c\u662f\u5426\u5df2\u663e\u793a\u4e3a 11 \u82f1\u9551&quot;);\r\n})();<\/code><\/pre><\/div><br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u767b\u5f55\u00a0 ChatGPT 2.F12 \u9009\u62e9\u63a7\u5236\u53f0\u7c98\u8d34\u4e0b\u65b9\u4ee3\u7801 3.\u4f7f\u7528\u63a7\u5236\u53f0\u663e\u793a\u7684\u957f\u94fe\u63a5\u76f4\u63a5\u652f\u4ed8\u5373\u53ef\uff08\u8d26\u5355\u5730<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1],"tags":[],"special":[],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-13","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=\/wp\/v2\/posts\/141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=141"}],"version-history":[{"count":1,"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions\/142"}],"wp:attachment":[{"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=141"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/hi.tionmon.de\/index.php?rest_route=%2Fwp%2Fv2%2Fspecial&post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}