import{r as e,d as o}from"./index.ad3efb29.js";const r="/api/system/user/";function n(t){return e({url:r,method:"get",params:t})}function u(t){return e({url:r,method:"post",data:t})}function d(t){return e({url:r+t.id+"/",method:"put",data:t})}function p(t){return e({url:r+t+"/",method:"delete",data:{id:t}})}function i(t){return o({url:r+"export_data/",params:t,method:"get"})}function l(t,a){return e({url:`/api/system/dept/dept_info/?dept_id=${t}&show_all=${a}`,method:"get"})}function m(t){return e({url:"/api/system/dept/role/",method:"get",params:t})}function f(t){return e({url:"/api/system/role/list/",method:"get",params:t})}function c(t){return e({url:"/api/system/dept/role/update/",method:"post",data:t})}export{u as A,p as D,n as G,d as U,f as a,l as b,c,i as e,m as g};
