diff --git a/src/index.ts b/src/index.ts index 2294986..1a009df 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,6 +16,7 @@ import { // API 配置 const API_BASE_URL = process.env.TLBM_API_URL || "https://www.atomdancing.com/pm"; const ADMIN_KEY = process.env.TLBM_ADMIN_KEY || ""; +const USER_TOKEN = process.env.TLBM_TOKEN || ""; // HTTP 请求函数 async function httpRequest(method: string, path: string, params?: Record, body?: any, headers?: Record): Promise { @@ -35,6 +36,12 @@ async function httpRequest(method: string, path: string, params?: Record