优化
This commit is contained in:
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user