初步框架

This commit is contained in:
禺狨
2023-03-01 17:26:17 +08:00
parent 46a8387515
commit 3dff7f139d
25 changed files with 36399 additions and 6545 deletions

9
src/api/categories.ts Normal file
View File

@@ -0,0 +1,9 @@
import axios from "axios";
export const getCategoriesAsync = (params: any) =>
axios.get("/categroy/findCategroy", {
params: params,
});
export const addCategoriesAsync = (data: any) =>
axios.post("/categroy/addCategroy", data);