ludc
2025-01-16 986aa62ed00bee39363bab41b4eeb8259d446efd
Source/plt-web/plt-web-ui/src/api/UI/Icons.js
@@ -3,8 +3,35 @@
// 图标库查询
export function getIcons(params) {
  return request({
    url: "/api/uiManagerController/getBizTree",
    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
  });
}