Files
SEONexusAdmin/src/api/modules/miUser/list.ts
2025-04-06 21:51:01 +08:00

24 lines
724 B
TypeScript

import { ResPage, ResultData } from "@/api/interface/index";
import { MiUserList } from "@/api/interface/miUser/list";
import { MI_USER_PORT } from "@/api/config/servicePort";
import http from "@/api";
/**
* @name APP用户列表
*/
export const getList = (params: MiUserList.ReqParams) => {
return http.get<ResPage<MiUserList.ResList>>(MI_USER_PORT + `/list`, params);
};
/**
* @name 设置APP用户
*/
export const saveData = (params: MiUserList.saveParams) => {
return http.post<ResPage<ResultData>>(MI_USER_PORT + `/save`, params);
};
/**
* @name 删除APP用户
*/
export const deleteItem = (params: MiUserList.delParams) => {
return http.post<ResPage<ResultData>>(MI_USER_PORT + `/del`, params);
};