Source/plt-web/plt-web-ui/src/api/user.js
@@ -45,4 +45,28 @@ params }); } // 按钮权限接口 export function getButtons(params) { return request({ url: "/api/smFunctionController/getAllButtons", method: "get", params }); } // 获取头像 export function getUserPhoto(params) { return request({ url: "/api/userQueryController/getUserPhoto", method: "get", responseType:'blob', params }); } // 上传头像 export function updateUserPhoto(formData) { return request({ url: "/api/userQueryController/updateUserPhoto", method: "post", data:formData }); }