import request from '@/router/axios'; // 图标库查询 export function getIcons(params) { return request({ url: "/api/webIconController/getAllIcon", method: "get", params }); } // 创建 export function addIcon(params) { return request({ url: "/api/webIconController/addIcon", method: "post", data:params }); } // 修改 export function updateIcon(params) { return request({ url: "/api/webIconController/editIcon", method: "put", data:params }); } // 删除 export function deleteIcon(params) { return request({ url: "/api/webIconController/delIcon", method: "delete", params }); }