/* * @Author: 曹文丽 caowenli@yuan-info.com * @Date: 2023-09-15 15:34:43 * @LastEditors: 曹文丽 caowenli@yuan-info.com * @LastEditTime: 2023-09-19 16:08:53 * @FilePath: \yuan-asset-module-browser\src\api\collection\assetAddress.ts * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ /* * @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 postAddIpLibrary = (params) => { return http.post("/ipLibrary/create", params); }; /** * @description: 修改 * @param {} */ export const postModifyIpLibrary = (params) => { return http.post("/ipLibrary/modify", params); }; /** * @description: 单个删除 * @param {} */ export const getDelIpLibrary = (params) => { return http.get("/ipLibrary/deleteSingle", params); }; /** * @description: 批量删除 * @param {} */ export const postDelBatch = (params) => { return http.post("/ipLibrary/deleteBatch", params); }; /** * @description: 全部删除 * @param {} */ export const postDelAll = (params) => { return http.post("/ipLibrary/deleteByQuery", 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", }); }; /** * @description: 全部导出 * @param {} */ export const exportByQuery = (params) => { return http.post("/ipLibrary/exportByQuery", params, { responseType: "blob", }); };