import{r as e,m as o}from"./index.lP_uh0LI.js";const r=`${o.system}dept/`;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 s(t){return e({url:r+t+"/",method:"delete"})}function m(t){return e({url:r,method:"get",params:t})}function p(t){return e({url:r+"move_up/",method:"post",data:t})}function i(t){return e({url:r+"move_down/",method:"post",data:t})}export{u as A,s as D,n as G,d as U,i as a,p as d,m as l};