import { setRequest } from "@/utils/httpRequest";

/**
 * 4.1.1白名单库--管理列表
 */
export const whiteLibrary_list = (data) =>
  setRequest("whiteLibrary/list", data);
/**
 * 4.1.2白名单库--添加
 */
export const whiteLibrary_add = (data) => setRequest("whiteLibrary/add", data);
/**
 * 4.1.2白名单库--添加到白名单
 */
export const whiteLibrary_add_white = (data) =>
  setRequest("whiteLibrary/add_white", data);
/**
 * 4.1.3白名单库--更新
 */
export const whiteLibrary_edit = (data) =>
  setRequest("whiteLibrary/edit", data);
/**
 * 4.1.4白名单库--删除
 */
export const whiteLibrary_delete = (data) =>
  setRequest("whiteLibrary/delete", data);
/**
 * 4.1.5白名单库--详情
 */
export const whiteLibrary_detail = (data) =>
  setRequest("whiteLibrary/detail", data);
/**
 * 4.2.1白名单--管理列表
 */
export const white_list = (data) => setRequest("white/list", data);
/**
 * 4.2.2白名单--添加
 */
export const white_add = (data) => setRequest("white/add", data);
/**
 * 4.2.3白名单--更新
 */
export const white_edit = (data) => setRequest("white/edit", data);
/**
 * 4.2.4白名单--删除
 */
export const white_delete = (data) => setRequest("white/delete", data);
/**
 * 4.2.5白名单--详情
 */
export const white_detail = (data) => setRequest("white/detail", data);
