// import { ResPage, User } from "@/api/interface/index";
// import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";

/**
 * @name 用户管理模块
 */
// 获取用户列表
// export const getUserList = (params: User.ReqUserParams) => {
//   return http.post<ResPage<User.ResUserList>>(PORT1 + `/user/list`, params);
// };

// // 切换用户状态
export const changeUserStatus = (params: { id: string; status: number }) => {
  return http.post(`/upload`, params);
};

// 获取用户性别字典
// export const getUserGender = () => {
//   return http.get<User.ResGender[]>(PORT1 + `/api/site`);
// };
