import request from '@/sheep/request2'; const UserApi = { // 修改密码 updateUserPassword: (data) => { return request({ url: '/app-api/member/user/update-password', method: 'PUT', data, custom: { loadingMsg: '验证中', showSuccess: true, successMsg: '修改成功' }, }); }, // 重置密码 resetUserPassword: (data) => { return request({ url: '/app-api/member/user/reset-password', method: 'PUT', data, custom: { loadingMsg: '验证中', showSuccess: true, successMsg: '修改成功' } }); }, }; export default UserApi;