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