feat: update staff API schema and refactor admin login paths

This commit is contained in:
Ardeman
2025-03-03 17:33:52 +08:00
parent 459e25c010
commit 599a92fba3
3 changed files with 3 additions and 9 deletions
+1 -5
View File
@@ -18,13 +18,9 @@ export const META_TITLE_CONFIG: TMetaTitleConfig = [
title: 'Home',
},
{
path: '/lg-admin/auth/login',
path: '/lg-admin/login',
title: 'Login',
},
{
path: '/lg-admin/auth/register',
title: 'Register',
},
...ADMIN_MENU.flatMap((menu) =>
menu.items.map((item) => ({ path: item.url, title: item.title })),
),