feat: 添加三个 service 文件和 RoleGuard 组件
This commit is contained in:
@@ -13,4 +13,6 @@ export async function logout() {
|
||||
export async function me() {
|
||||
const response = await http.get('/auth/me')
|
||||
return response.data
|
||||
}
|
||||
}
|
||||
|
||||
export default { login, logout, me }
|
||||
Reference in New Issue
Block a user