| 1 |
- import{I as t}from"./index.2854391f.js";function u(e){return t.put({url:"/dept",params:e})}function n(e){return t.patch({url:"/dept",params:e})}function s(e){return t.patch({url:"/dept/is_enable",params:e})}function o(e){return t.delete({url:`/dept/${e}`})}function l(e){return t.post({url:"/dept/list",params:e})}function i(e){return t.post({url:"/dept/tree",params:e})}function a(e){return t.put({url:"/post",params:e})}function p(e){return t.patch({url:"/post",params:e})}function c(e){return t.delete({url:`/post/${e}`})}function d(e){return t.post({url:`/post/page/${e.pageNum}/${e.pageSize}`,params:e})}function f(e){return t.post({url:"/post/list",params:e})}function g(e){return t.put({url:"/user",params:e})}function $(e){return t.patch({url:"/user",params:e})}function L(e){return t.delete({url:`/user/remove/${e}`})}function h(e){return t.post({url:`/user/reset-passwords/${e}`,params:{userId:e}})}function P(e){return t.post({url:`/user/page/${e.pageNum}/${e.pageSize}`,params:e})}function D(e){return t.post({url:"/user/list",params:e})}function M(e){return t.put({url:"/role",params:e})}function R(e){return t.patch({url:"/role",params:e})}function b(e){return t.delete({url:`/role/${e.roleIds}`,params:e})}function N(e){return t.post({url:`/role/page/${e.pageNum}/${e.pageSize}`,params:{roleName:e.roleName}})}function U(){return t.post({url:"/role/init-roles"})}function m(e){return t.patch({url:"/role",params:e})}function z(e){return t.put({url:"/resource",params:e})}function w(e){return t.patch({url:"/resource",params:e})}function A(e){return t.delete({url:`/resource/${e}`,params:{menuId:e}})}function S(e){return t.post({url:"/resource/enable",params:e})}function q(e){return t.post({url:"/resource/list",params:e})}function v(e){return t.post({url:"/resource/tree",params:e})}export{p as A,d as B,c as C,U as a,f as b,i as c,P as d,g as e,$ as f,D as g,L as h,M as i,R as j,N as k,b as l,q as m,m as n,v as o,z as p,w as q,h as r,A as s,S as t,u,n as v,l as w,s as x,o as y,a as z};
|