From 73f7f4d8b004bf884abf36041c240e44050a1f48 Mon Sep 17 00:00:00 2001 From: weiwei Date: Wed, 16 Apr 2025 20:10:29 +0800 Subject: [PATCH] 1 --- src/sheep/api/user.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sheep/api/user.ts b/src/sheep/api/user.ts index bf2fe7c..4c5c42d 100644 --- a/src/sheep/api/user.ts +++ b/src/sheep/api/user.ts @@ -39,15 +39,15 @@ export default { }), // 诗画授权 - authsh: (params: { accountId: string; sessionId: string }): Promise => + authsh: (data: { accountId: string; sessionId: string }): Promise => request({ - url: `/thirdparty/thirdPartyOAth2/shjnsso`, + url: "/thirdparty/thirdPartyOAth2/shjnsso", method: "POST", custom: { showLoading: false, loadingMsg: "授权中", }, - data: params, + data, }), // 刷新token