修改invitecode提交后台的名称

This commit is contained in:
wangxiaowei 2024-06-20 22:55:58 +08:00
parent 4c5c5f140e
commit 315bc313c2
4 changed files with 6 additions and 6 deletions

@ -26,7 +26,7 @@
<view class="main">
<!-- 填表格 -->
<!-- <view v-if="vipState == 0" class="user-apply-box"> -->
<view v-if="vipState == 0" class="user-apply-box">
<view class="user-apply-vip flex-col col-center">
<view class="user-apply-header flex-col col-center">
<view class="title xxl normal">申请成为分销会员</view>
@ -65,7 +65,7 @@
立即申请
</button>
<view class="m-t-20 xxs lighter flex row-center">提交成功后,我们将会在1-2个工作日内给您回复</view>
<!-- </view> -->
</view>
<!-- 申请状态 -->
<view v-if="vipState==1" class="user-result-box">
@ -400,7 +400,7 @@
// 填写邀请码
bindSuperiorFun() {
bindSuperior({
code: this.inviteCode
invite_code: this.inviteCode
}).then(res => {
this.$toast({
title: res.msg

@ -383,7 +383,7 @@
// 填写邀请码
bindSuperiorFun() {
bindSuperior({
code: this.inviteCode
invite_code: this.inviteCode
}).then(res => {
this.$toast({
title: res.msg

@ -347,7 +347,7 @@ export default {
const inviteCode = Cache.get(INVITE_CODE);
if (inviteCode) {
bindSuperior({
code: inviteCode,
invite_code: inviteCode,
});
Cache.remove(INVITE_CODE);
}

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