first init

This commit is contained in:
2025-11-09 20:01:55 +08:00
commit 4c131cbc38
35 changed files with 2298 additions and 0 deletions

19
src/apis/user.ts Normal file
View File

@@ -0,0 +1,19 @@
import http from "../utils/http";
/**
* This is an example, please remove if not needed
*/
export const getUserList = () => {
return http({
url: "/user/list",
method: "get",
});
};
export const insertUser = (data: { account: string; passowrd: string }) => {
return http({
url: "/user/insert",
method: "post",
data,
});
};