Files
aiot-platform-ui/apps/web-antd/dist/js/index-6IwraUeJ.js

2 lines
833 B
JavaScript

var n=(e,m,u)=>new Promise((c,i)=>{var y=t=>{try{a(u.next(t))}catch(r){i(r)}},o=t=>{try{a(u.throw(t))}catch(r){i(r)}},a=t=>t.done?c(t.value):Promise.resolve(t.value).then(y,o);a((u=u.apply(e,m)).next())});import{aq as s}from"./bootstrap-DsjPfOC_.js";function l(){return n(this,null,function*(){return s.get("/system/menu/simple-list")})}function p(e){return n(this,null,function*(){return s.get("/system/menu/list",{params:e})})}function f(e){return n(this,null,function*(){return s.get(`/system/menu/get?id=${e}`)})}function M(e){return n(this,null,function*(){return s.post("/system/menu/create",e)})}function q(e){return n(this,null,function*(){return s.put("/system/menu/update",e)})}function L(e){return n(this,null,function*(){return s.delete(`/system/menu/delete?id=${e}`)})}export{f as a,l as b,M as c,L as d,p as g,q as u};