import{aB as r,aH as t}from"./index-DpP8vbvu.js";function s(e){return r.post("/role/add",e)}function l(){return r.get("/role/permTree")}function n(){return r.get("/role/list")}function a(e){return r.put("/role/set",e)}function u(e){return r.delete("/role/delete",{params:{roleId:e}})}function f(e){return r.put("/role/setDefault",{roleId:e})}function c(){return r.get("/role/selectUse")}const i=t("role",{state:()=>({refresh:0}),actions:{refreshSelect(){this.refresh++}}});export{l as a,n as b,f as c,u as d,s as e,a as f,c as r,i as u};
