增加实名

This commit is contained in:
GaoHao
2025-01-02 16:56:09 +08:00
parent cfe567a206
commit 02b71cbf23
7 changed files with 44 additions and 14 deletions

View File

@@ -167,6 +167,7 @@
userId: '',
zhifubao: '',
zhifubaoName: '',
certNum: '',
list: [],
page: 1,
limit: 10,
@@ -183,6 +184,7 @@
this.userId = uni.getStorageSync('userId')
this.zhifubao = uni.getStorageSync('zhiFuBao')
this.zhifubaoName = uni.getStorageSync('zhiFuBaoName')
this.certNum = uni.getStorageSync('certNum')
this.getcashMoney()
},
@@ -312,6 +314,7 @@
title: '提现中'
});
this.$u.api.withdraw(data).then(res => {
console.log(res)
if (res.code == 0) {
uni.showToast({
title: res.msg,
@@ -322,7 +325,18 @@
that.getcashMoney()
}, 1500)
} else {
} else if (res.code == 9991) {
uni.showToast({
title: res.msg,
icon: 'none'
})
setTimeout(function() {
uni.navigateTo({
url: '/me/invite/zhifubao'
});
}, 1500)
} else {
uni.showToast({
title: res.msg,
icon: 'none'
@@ -351,8 +365,6 @@
return;
}
let shouxufei = parseFloat(that.money * that.shouxufei).toFixed(2);
console.log(parseFloat(that.mayMoney))
console.log(parseFloat(that.money))
if (parseFloat(that.mayMoney).toFixed(2) >= parseFloat(that.money)) {
// if (parseFloat(that.mayMoney).toFixed(1) >= parseFloat(that.money) + shouxufei * 1) {
if (parseFloat(that.money).toFixed(2) >= parseFloat(cashMoney)) {