From 315bc313c26615b3ef02dff5e40512fb8710eb77 Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Thu, 20 Jun 2024 22:55:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9invitecode=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=E7=9A=84=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bundle/pages/user_spread/user_spread.vue | 6 +++--- bundle_b/pages/billions/billions.vue | 2 +- pages/login/login.vue | 2 +- utils/login.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bundle/pages/user_spread/user_spread.vue b/bundle/pages/user_spread/user_spread.vue index 9ab1c79..d1db446 100644 --- a/bundle/pages/user_spread/user_spread.vue +++ b/bundle/pages/user_spread/user_spread.vue @@ -26,7 +26,7 @@ - + 申请成为分销会员 @@ -65,7 +65,7 @@ 立即申请 提交成功后,我们将会在1-2个工作日内给您回复 - + @@ -400,7 +400,7 @@ // 填写邀请码 bindSuperiorFun() { bindSuperior({ - code: this.inviteCode + invite_code: this.inviteCode }).then(res => { this.$toast({ title: res.msg diff --git a/bundle_b/pages/billions/billions.vue b/bundle_b/pages/billions/billions.vue index ff8630a..c24b0cd 100644 --- a/bundle_b/pages/billions/billions.vue +++ b/bundle_b/pages/billions/billions.vue @@ -383,7 +383,7 @@ // 填写邀请码 bindSuperiorFun() { bindSuperior({ - code: this.inviteCode + invite_code: this.inviteCode }).then(res => { this.$toast({ title: res.msg diff --git a/pages/login/login.vue b/pages/login/login.vue index 969a41d..953aedf 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -347,7 +347,7 @@ export default { const inviteCode = Cache.get(INVITE_CODE); if (inviteCode) { bindSuperior({ - code: inviteCode, + invite_code: inviteCode, }); Cache.remove(INVITE_CODE); } diff --git a/utils/login.js b/utils/login.js index e61a75a..5da9046 100644 --- a/utils/login.js +++ b/utils/login.js @@ -87,7 +87,7 @@ export async function wxMnpLogin() { // 绑定邀请码 const inviteCode = Cache.get(INVITE_CODE) if (inviteCode) { - bindSuperior({code: inviteCode}) + bindSuperior({invite_code: inviteCode}) Cache.remove(INVITE_CODE) } // 刷新页面