mirror of
https://github.com/skyle1995/NetworkAuth.git
synced 2026-05-25 10:42:45 +08:00
chore: monorepo 合并
This commit is contained in:
14
frontend/src/api/admin/routes.ts
Normal file
14
frontend/src/api/admin/routes.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
// import { http } from "@/utils/http";
|
||||
|
||||
type Result = {
|
||||
success: boolean;
|
||||
data: Array<any>;
|
||||
};
|
||||
|
||||
export const getAsyncRoutes = () => {
|
||||
// 模拟后端动态生成路由 (对接时可以替换为真实的后端 API)
|
||||
return Promise.resolve({
|
||||
success: true,
|
||||
data: []
|
||||
} as Result);
|
||||
};
|
||||
Reference in New Issue
Block a user