src/api/system/user.js
@@ -33,10 +33,11 @@ // 用户头像上传 export function uploadAvatar(data) { return upload({ return request({ url: '/system/user/profile/avatar', name: data.name, filePath: data.filePath method: 'post', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, data: data }) } // 查询用户列表