You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
563 B
JavaScript
2 lines
563 B
JavaScript
import{ax as t}from"./entry/index-CwTXVJ2d-1723001953242.js";import{d as s}from"./index-B4wZYO02.js";function o(){return t.get({url:"/system/user/profile"})}function n(e){return t.putWithMsg({url:"/system/user/profile",data:e})}function f(e){return t.put({url:"/system/user/profile/updatePwd",data:e},{encrypt:!0})}function p(e){let{file:r}=e;const{filename:u}=e;return!u&&r instanceof Blob&&(r=new File([r],`${s()}.png`)),t.uploadFile({url:"/system/user/profile/avatar",timeout:30*1e3},{file:r,name:"avatarfile",filename:u})}export{o as a,n as b,f as c,p as u};
|