pure-admin-thin/src/api/routes.ts
2022-11-10 12:28:10 +08:00

11 lines
196 B
TypeScript

import { http } from "@/utils/http";
type Result = {
success: boolean;
data: Array<any>;
};
export const getAsyncRoutes = () => {
return http.request<Result>("get", "/getAsyncRoutes");
};