Agriculture-front-end/dist/assets/user.cbff96c4.js

2 lines
1.2 KiB
JavaScript
Raw Normal View History

import{Q as t,R as e}from"./index.e5c8b0d6.js";function s(e){return t({url:"/system/user/list",method:"get",params:e})}function r(s){return t({url:"/system/user/"+e(s),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,s){return t({url:"/system/user/resetPwd",method:"put",data:{userId:e,password:s}})}function d(e,s){return t({url:"/system/user/changeStatus",method:"put",data:{userId:e,status:s}})}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,s){return t({url:"/system/user/profile/updatePwd",method:"put",params:{oldPassword:e,newPassword:s}})}function f(e){return t({url:"/system/user/profile/avatar",method:"post",data:e})}function p(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{l as a,i as b,p as c,h as d,c as e,n as f,m as g,d as h,r as i,a as j,u as k,s as l,o as r,f as u};