import { http } from "@/utils/http"; // import { baseUrlApi } from "./utils"; import { authApi } from "./utils"; type Result = { success: boolean; data: Array; }; export const getAsyncRoutes = () => { // return http.request("get", "/get-async-routes"); // 暂时返回空动态路由 // return http.request("get", baseUrlApi("auth/async-routes")); return http.request("get", authApi("async-routes")); };