perf(登录): 优化登录接口路径并完善退出登录功能

This commit is contained in:
feige996
2025-09-07 17:09:33 +08:00
parent 30c8caa542
commit 6e1893acd2
4 changed files with 36 additions and 13 deletions

View File

@@ -119,7 +119,7 @@ export async function userCreateWithListUsingPost({
});
}
/** Logs user into the system GET /user/login */
/** Logs user into the system GET /auth/login */
export async function userLoginUsingGet({
params,
options,
@@ -128,7 +128,7 @@ export async function userLoginUsingGet({
params: API.userLoginUsingGetParams;
options?: CustomRequestOptions;
}) {
return request<string>('/user/login', {
return request<string>('/auth/login', {
method: 'GET',
params: {
...params,