import{X as a}from"./index-C1tQD-C0.js";const s=async s=>{try{return(await a.post(`/api/v1/app/Usr/modifyUsrPwd?id=${s.id}&oldpasswd=${s.oldpasswd}&password=${s.password}`)).data}catch(t){}},t=async()=>{try{return(await a.post("/api/v1/app/Usr/getUsrlist")).data}catch(s){}},r=async s=>{const{id:t}=s;try{return(await a.post(`/api/v1/app/Usr/delUser?id=${t}`)).data}catch(r){}},d=async s=>{const{account:t,password:r,usrRole:d}=s;try{return(await a.post(`/api/v1/app/Usr/addUser?accound=${t}&password=${r}&role=${d}`)).data}catch(p){}};export{s as c,r as d,t as g,d as u};
