实名认证更新
This commit is contained in:
@@ -431,7 +431,7 @@
|
|||||||
that.getcashMoney()
|
that.getcashMoney()
|
||||||
}, 1500)
|
}, 1500)
|
||||||
|
|
||||||
} else if (res.code == 9991) {
|
} else if (res.code == 9999) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.msg,
|
title: res.msg,
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
@@ -442,6 +442,17 @@
|
|||||||
});
|
});
|
||||||
}, 1500)
|
}, 1500)
|
||||||
|
|
||||||
|
} else if (res.code == 9991) {
|
||||||
|
uni.showToast({
|
||||||
|
title: res.msg,
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
setTimeout(function() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/me/invite/realName'
|
||||||
|
});
|
||||||
|
}, 1500)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.msg,
|
title: res.msg,
|
||||||
@@ -459,7 +470,7 @@
|
|||||||
let cashMoney = that.cashMoney;
|
let cashMoney = that.cashMoney;
|
||||||
|
|
||||||
if (token) {
|
if (token) {
|
||||||
if (that.zhifubao && that.zhifubaoName) {
|
|
||||||
if (!/^\d+(\.\d{1,2})?$/.test(that.money)) {
|
if (!/^\d+(\.\d{1,2})?$/.test(that.money)) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
@@ -533,11 +544,6 @@
|
|||||||
title: "您的余额不足"
|
title: "您的余额不足"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: "/me/invite/zhifubao"
|
|
||||||
})
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/login/login'
|
url: '/pages/login/login'
|
||||||
|
|||||||
@@ -2,17 +2,17 @@
|
|||||||
<view class="containerView">
|
<view class="containerView">
|
||||||
<list-cell title="姓名" type="text" placeholder="请输入姓名" v-model="certName"></list-cell>
|
<list-cell title="姓名" type="text" placeholder="请输入姓名" v-model="certName"></list-cell>
|
||||||
|
|
||||||
<list-cell title="手机号" type="text" placeholder="请输入手机号" v-model="mobile"></list-cell>
|
|
||||||
|
|
||||||
<list-cell title="身份证号码" type="text" placeholder="请输入身份证号码" v-model="certNum"></list-cell>
|
<list-cell title="身份证号码" type="text" placeholder="请输入身份证号码" v-model="certNum"></list-cell>
|
||||||
|
|
||||||
<list-cell title="银行卡号码" type="text" placeholder="请输入银行卡号码" v-model="accountNo"></list-cell>
|
<list-cell title="银行卡号码" type="text" placeholder="请输入银行卡号码" v-model="accountNo"></list-cell>
|
||||||
|
|
||||||
|
<list-cell title="手机号" type="text" placeholder="请输入银行预留号码" v-model="mobile"></list-cell>
|
||||||
|
|
||||||
<button class="confirm-btn" @click="toLogin"
|
<button class="confirm-btn" @click="toLogin"
|
||||||
:disabled="logining">认证</button>
|
:disabled="logining">认证</button>
|
||||||
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;margin-top: 32rpx;margin-bottom: 10rpx;">请正确填写收款人的银行卡号和真实的收款人姓名</view>
|
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;margin-top: 32rpx;margin-bottom: 10rpx;">请正确填写收款人的银行卡号和真实的收款人姓名</view>
|
||||||
|
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;;margin-bottom: 10rpx;">手机号需是银行卡银行卡预留手机号</view>
|
||||||
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;;margin-bottom: 10rpx;">银行卡号需与收款人姓名一致</view>
|
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;;margin-bottom: 10rpx;">银行卡号需与收款人姓名一致</view>
|
||||||
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;;margin-bottom: 10rpx;">身份证信息仅可使用一次</view>
|
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;;margin-bottom: 10rpx;">身份证信息仅可使用一次</view>
|
||||||
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx">否则将无法正常收款,请须知</view>
|
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx">否则将无法正常收款,请须知</view>
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.logining = true
|
this.logining = true
|
||||||
this.$u.post('app/user/updateUser?certName=' + this.certName + '&mobile=' + this.mobile + '&certNum=' + this.certNum + '&accountNo=' + this.accountNo).then(
|
this.$u.post('app/user/realNameAuth?certName=' + this.certName + '&mobile=' + this.mobile + '&certNum=' + this.certNum + '&accountNo=' + this.accountNo.replace(/\s+/g, '')).then(
|
||||||
res => {
|
res => {
|
||||||
this.logining = false
|
this.logining = false
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.logining = true
|
this.logining = true
|
||||||
this.$u.post('app/user/updateUser?zhiFuBao=' + zhiFuBao + '&certName=' + zhiFuBaoName).then(
|
this.$u.post('app/user/bindAlipay?zhiFuBao=' + zhiFuBao + '&certName=' + zhiFuBaoName).then(
|
||||||
res => {
|
res => {
|
||||||
this.logining = false
|
this.logining = false
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
|||||||
Reference in New Issue
Block a user