This commit is contained in:
2026-09-02 10:28:43 +08:00
parent 49aad23098
commit cb8d89eae5
3 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ function authRequest(path, data) {
})
}
export function login(username, password) {
return authRequest('/auth/login', { username, password })
export function login(loginId, password) {
return authRequest('/auth/login', { loginId, password })
}
export function refresh(refreshToken) {