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) } // 刷新页面