登录接口完成

This commit is contained in:
2026-08-18 15:00:02 +08:00
parent d91f7928dd
commit bf355b3fbf
7 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export function fetchLogin(username: string, password: string) {
/** Get user info */
export function fetchGetUserInfo() {
return request<Api.Auth.UserInfo>({ url: '/auth/getUserInfo' });
return request<Api.Auth.UserInfo>({ url: '/api/auth/me' });
}
/**