refactor: axios methods and env

This commit is contained in:
xiaoxian521
2021-12-04 01:16:50 +08:00
parent a845d4f237
commit 11bf711838
25 changed files with 522 additions and 585 deletions

View File

@@ -1,5 +1,5 @@
import { http } from "../utils/http";
export const getAsyncRoutes = (data?: object) => {
return http.request("get", "/getAsyncRoutes", data);
return http.request("get", "/getAsyncRoutes", { data });
};