Files
Market-Front/src/apis/user.ts

20 lines
354 B
TypeScript
Raw Normal View History

2025-09-15 08:33:27 +08:00
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,
});
};