diff --git a/api/appUser.js b/api/appUser.js index 88b6d8e..bac02e4 100644 --- a/api/appUser.js +++ b/api/appUser.js @@ -267,14 +267,6 @@ export function getUserInvites(user_id, page = 1, page_size = 20) { return authRequest({ url: `/api/app/users/${user_id}/invites`, method: 'GET', data: { page, page_size } }) } -// ============================================ -// 兼容性适配接口 (适配 pages/mine/index.vue) -// ============================================ - -export function bindInviter(invite_code) { - return authRequest({ url: '/api/app/users/inviter/bind', method: 'POST', data: { invite_code } }) -} - // ============================================ // 用户信息修改 API // ============================================ diff --git a/pages/mine/index.vue b/pages/mine/index.vue index bf7b2a2..366d86a 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -157,12 +157,6 @@ 任务中心 - - - - - 填写邀请码 - @@ -498,31 +492,13 @@ - - - - - 填写邀请码 - × - - - 请输入好友的邀请码,绑定后双方可获得奖励 - - - - - - - -