From e67763fa60ecc29d3438f0e529f80e6622cc9da5 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Wed, 8 Apr 2026 17:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=E5=B0=86TGHttp=E6=A0=87?= =?UTF-8?q?=E8=AE=B0=E4=B8=BA=E5=BC=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/TGHttp.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/utils/TGHttp.ts b/src/utils/TGHttp.ts index f836df7a..c933a6f3 100644 --- a/src/utils/TGHttp.ts +++ b/src/utils/TGHttp.ts @@ -1,6 +1,7 @@ /** * 封装HTTP请求 - * @since Beta v0.9.1 + * @since Beta v0.10.0 + * @deprecated 请使用 TGHttps */ import { type ClientOptions, fetch } from "@tauri-apps/plugin-http"; @@ -10,8 +11,8 @@ import TGLogger from "./TGLogger.js"; /** * 请求参数 - * @since Beta v0.9.1 - * @remarks 请使用 TGHttpsConfig 类型 + * @since Beta v0.10.0 + * @deprecated 请使用 TGHttpsConfig 类型 */ type TGHttpParams = { /** 请求方法 */ @@ -30,8 +31,8 @@ type TGHttpParams = { /** * 发送请求 - * @since Beta v0.9.1 - * @remarks 自 Beta v0.10.0 起弃用,请使用 TGHttps.get() 或 TGHttps.post() 替代 + * @since Beta v0.10.0 + * @deprecated 请使用 TGHttps.get() 或 TGHttps.post() 替代 * @param url - 请求地址 * @param options - 请求参数 * @returns 请求结果