feat: 添加三个 service 文件和 RoleGuard 组件

This commit is contained in:
simonkoson
2026-05-21 19:46:40 +08:00
parent 7cc0bf21ff
commit b7560a6cf6
6 changed files with 455 additions and 1 deletions
+3 -1
View File
@@ -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 }