This commit is contained in:
dap
2024-08-29 19:55:11 +08:00
74 changed files with 1238 additions and 453 deletions

View File

@@ -42,7 +42,9 @@ export async function refreshTokenApi() {
* 退出登录
*/
export async function logoutApi() {
return requestClient.post('/auth/logout');
return baseRequestClient.post('/auth/logout', {
withCredentials: true,
});
}
/**

View File

@@ -42,7 +42,9 @@ export async function refreshTokenApi() {
* 退出登录
*/
export async function logoutApi() {
return requestClient.post('/auth/logout');
return baseRequestClient.post('/auth/logout', {
withCredentials: true,
});
}
/**