mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 11:19:45 +08:00
初步框架
This commit is contained in:
9
src/api/categories.ts
Normal file
9
src/api/categories.ts
Normal 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);
|
||||
Reference in New Issue
Block a user