/* * @Description: 资产ip库 接口 * @Author: tqh */ import { http } from "@/utils/https"; /** * @description: 获取表格数据 * @param {number} page * @param {number} size */ export const getList = (data) => { return http.get("/ipLibrary/page", data); }; /** * @description: 新增 * @param {} */ export const add = (params) => { return http.post("/ipLibrary/create", params); }; /** * @description: 单个删除 * @param {} */ export const delOne = (params) => { return http.get("/ipLibrary/deleteSingle", params); }; /** * @description: 批量删除 * @param {} */ export const delAll = (params) => { return http.post("/ipLibrary/deleteBatch", params); }; /** * @description: 修改 * @param {} */ export const update = (params) => { return http.post("/ipLibrary/modify", params); }; /** * @description: 导入 * @param {} */ export const importByExcel = (params) => { return http.post("/ipLibrary/importByExcel", params); }; /** * @description: 导入校验 * @param {} */ export const importCheckByExcel = (params) => { return http.post("/ipLibrary/importCheckByExcel", params); }; /** * @description: 批量导入 * @param {} */ export const exportBatch = (params) => { return http.post("/ipLibrary/exportBatch", params, { responseType: "blob", }); };