绑定支付宝增加修改上限提醒
This commit is contained in:
@@ -78,7 +78,8 @@
|
|||||||
} else {
|
} else {
|
||||||
this.$u.post('app/user/updateUser?zhiFuBao=' + zhiFuBao + '&zhiFuBaoName=' + zhiFuBaoName).then(
|
this.$u.post('app/user/updateUser?zhiFuBao=' + zhiFuBao + '&zhiFuBaoName=' + zhiFuBaoName).then(
|
||||||
res => {
|
res => {
|
||||||
// console.log(res);
|
console.log(res);
|
||||||
|
if(res.code==0){
|
||||||
uni.setStorageSync('zhiFuBao', zhiFuBao)
|
uni.setStorageSync('zhiFuBao', zhiFuBao)
|
||||||
uni.setStorageSync('zhiFuBaoName', zhiFuBaoName)
|
uni.setStorageSync('zhiFuBaoName', zhiFuBaoName)
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@@ -90,6 +91,13 @@
|
|||||||
}, 1000)
|
}, 1000)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}else{
|
||||||
|
uni.showToast({
|
||||||
|
title:res.msg||'修改失败',
|
||||||
|
icon:'none'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user