1 |
- import{r,S as u}from"./index.DveZySSu.js";let t="/api/system/menu/";u.get("superKey")==="super_admin_role"?t="/api/system/superadmin/menus/":t="/api/system/menu/";function a(e){return r({url:t,method:"get",params:e})}function s(e){return r({url:t,method:"post",data:e})}function o(e){return r({url:t+e.id+"/",method:"put",data:e})}function m(e){return r({url:t+e+"/",method:"delete"})}function d(e){return r({url:t,method:"get",params:e})}function i(e){return r({url:t+"move_up/",method:"post",data:e})}function p(e){return r({url:t+"move_down/",method:"post",data:e})}export{s as A,m as D,a as G,o as U,p as a,d as l,i as m};
|