init 3
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { http } from "@/utils/http";
|
||||
import { baseUrlApi } from "./utils";
|
||||
// import { baseUrlApi } from "./utils";
|
||||
import { authApi } from "./utils";
|
||||
|
||||
type Result = {
|
||||
success: boolean;
|
||||
@@ -9,5 +10,6 @@ type Result = {
|
||||
export const getAsyncRoutes = () => {
|
||||
// return http.request<Result>("get", "/get-async-routes");
|
||||
// 暂时返回空动态路由
|
||||
return http.request<Result>("get", baseUrlApi("auth/async-routes"));
|
||||
// return http.request<Result>("get", baseUrlApi("auth/async-routes"));
|
||||
return http.request<Result>("get", authApi("async-routes"));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user