From dfb8f993f691eedc558d52347b1a93a105f6b0d2 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 03 三月 2025 16:43:14 +0800 Subject: [PATCH] fix: 对接 --- apps/taro/src/utils/request/index.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/taro/src/utils/request/index.ts b/apps/taro/src/utils/request/index.ts index 4d74dc6..c2ff674 100644 --- a/apps/taro/src/utils/request/index.ts +++ b/apps/taro/src/utils/request/index.ts @@ -49,7 +49,7 @@ REDIRECT = 9, } // 涓庡悗绔害瀹氱殑鍝嶅簲鏁版嵁鏍煎紡 -interface ResponseStructure { +export interface ResponseStructure { success: boolean; data: any; /** @@ -94,7 +94,7 @@ withCredentials: true, }; -const config: RequestConfig<ResponseStructure, IRequestOptions> = { +export const config: RequestConfig<ResponseStructure, IRequestOptions> = { ...AxiosOptions, errorConfig: { -- Gitblit v1.9.1