diff --git a/yudao-ui-admin/src/api/member/user.js b/yudao-ui-admin/src/api/member/user.js index 0a9b882cb..b86fba95c 100644 --- a/yudao-ui-admin/src/api/member/user.js +++ b/yudao-ui-admin/src/api/member/user.js @@ -53,11 +53,7 @@ export function exportUserExcel(query) { }) } // 用户状态修改 -export function changeUserStatus(id, status) { - const data = { - id, - status - } +export function changeUserStatus(data) { return request({ url: '/member/user/update-status', method: 'put', diff --git a/yudao-ui-admin/src/views/member/promoter/index.vue b/yudao-ui-admin/src/views/member/promoter/index.vue index e322d36bc..3cfbc285e 100644 --- a/yudao-ui-admin/src/views/member/promoter/index.vue +++ b/yudao-ui-admin/src/views/member/promoter/index.vue @@ -2,12 +2,23 @@