You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import request from "./request"; |
|
|
|
export function login(body) { |
|
return request.post({ |
|
url: '/login', |
|
body |
|
}); |
|
} |
|
|
|
export function logout() { |
|
return request.post({ |
|
url: '/logout' |
|
}); |
|
} |
|
|
|
export function getSelf(body) { |
|
return request.get({ |
|
url: '/auth/self', |
|
body |
|
}); |
|
} |