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