import{s as r}from"./index-a6ee13d3.js";function s(){return{getRoleList(e){return r({url:"/admin/role/list",method:"get",params:e})},saveRole(e){return r({url:"/admin/role/save",method:"post",params:e})},delRole(e){return r({url:"/admin/role/delete/"+e,method:"post"})},saveRolePermissions(e,t){return r({url:"/admin/role/"+e+"/permissions/save",method:"post",data:t,headers:{"Content-Type":"application/x-www-form-urlencoded"}})},getRolePermissions(e){return r({url:"/admin/role/"+e+"/permissions",method:"get"})},getRoleSelectList(){return r({url:"/admin/role/list/select",method:"get"})}}}export{s as R};
