2 lines
970 B
JavaScript
2 lines
970 B
JavaScript
var e=(t,o,n)=>new Promise((u,s)=>{var y=a=>{try{c(n.next(a))}catch(g){s(g)}},p=a=>{try{c(n.throw(a))}catch(g){s(g)}},c=a=>a.done?u(a.value):Promise.resolve(a.value).then(y,p);c((n=n.apply(t,o)).next())});import{aq as r}from"./bootstrap-DmcuvVZS.js";function d(t){return e(this,null,function*(){return r.get("/bpm/category/page",{params:t})})}function b(t){return e(this,null,function*(){return r.get(`/bpm/category/get?id=${t}`)})}function f(t){return e(this,null,function*(){return r.post("/bpm/category/create",t)})}function C(t){return e(this,null,function*(){return r.put("/bpm/category/update",t)})}function l(t){return e(this,null,function*(){return r.delete(`/bpm/category/delete?id=${t}`)})}function $(){return e(this,null,function*(){return r.get("/bpm/category/simple-list")})}function h(t){return e(this,null,function*(){const o=t.join(",");return r.put(`/bpm/category/update-sort-batch?ids=${o}`)})}export{b as a,$ as b,f as c,l as d,h as e,d as g,C as u};
|