import{f as e}from"./index-mv7arXuk.js";const t=t=>e({url:"/system/role/list",method:"get",params:t}),s=t=>e({url:"/system/role/"+t,method:"get"}),a=t=>e({url:"/system/role",method:"post",data:t}),l=t=>e({url:"/system/role",method:"put",data:t}),r=t=>e({url:"/system/role/dataScope",method:"put",data:t}),o=(t,s)=>e({url:"/system/role/changeStatus",method:"put",data:{roleId:t,status:s}}),m=t=>e({url:"/system/role/"+t,method:"delete"}),u=t=>e({url:"/system/role/authUser/allocatedList",method:"get",params:t}),d=t=>e({url:"/system/role/authUser/unallocatedList",method:"get",params:t}),h=t=>e({url:"/system/role/authUser/cancel",method:"put",data:t}),p=t=>e({url:"/system/role/authUser/cancelAll",method:"put",params:t}),y=t=>e({url:"/system/role/authUser/selectAll",method:"put",params:t}),c=t=>e({url:"/system/role/deptTree/"+t,method:"get"});export{u as a,h as b,p as c,y as d,m as e,o as f,s as g,l as h,a as i,r as j,c as k,t as l,d as u};
