mirror of
https://gitee.com/myxzgzs/boyuehasfj-vue3.git
synced 2025-08-08 07:02:42 +08:00
2 lines
1.2 KiB
JavaScript
2 lines
1.2 KiB
JavaScript
import{Z as t,aG as e}from"./index-C-c3zR6K.js";function r(e){return t({url:"/system/user/list",method:"get",params:e})}function s(r){return t({url:"/system/user/"+e(r),method:"get"})}function u(e){return t({url:"/system/user",method:"post",data:e})}function a(e){return t({url:"/system/user",method:"put",data:e})}function n(e){return t({url:"/system/user/"+e,method:"delete"})}function o(e,r){return t({url:"/system/user/resetPwd",method:"put",data:{userId:e,password:r}})}function d(e,r){return t({url:"/system/user/changeStatus",method:"put",data:{userId:e,status:r}})}function m(){return t({url:"/system/user/profile",method:"get"})}function l(e){return t({url:"/system/user/profile",method:"put",data:e})}function i(e,r){return t({url:"/system/user/profile/updatePwd",method:"put",params:{oldPassword:e,newPassword:r}})}function p(e){return t({url:"/system/user/profile/avatar",method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function f(e){return t({url:"/system/user/authRole/"+e,method:"get"})}function h(e){return t({url:"/system/user/authRole",method:"put",params:e})}function c(){return t({url:"/system/user/deptTree",method:"get"})}export{f as a,p as b,l as c,c as d,i as e,s as f,m as g,n as h,d as i,a as j,u as k,r as l,o as r,h as u};
|