bunny-admin-element-thin/src/api/routes.ts

11 lines
210 B
TypeScript

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