Commit 920f239d by sunchao

积分兑换

parent 657746c1
...@@ -123,11 +123,11 @@ ...@@ -123,11 +123,11 @@
orderNo:this.partnerTradeNo, orderNo:this.partnerTradeNo,
amount:this.exchangeAmount, amount:this.exchangeAmount,
userId:uni.getStorageSync('cffp_userId'), userId:uni.getStorageSync('cffp_userId'),
userReName:'孙超'
} }
console.log(JSON.stringify(this.aliWithdrawalResVO)) console.log(JSON.stringify(this.aliWithdrawalResVO))
api.aliWithdrawal(this.aliWithdrawalResVO).then((res)=>{ api.aliWithdrawal(this.aliWithdrawalResVO).then((res)=>{
console.log(res) console.log(res)
if(res['success']){
if(res['data']['isAuth'] == 1){ if(res['data']['isAuth'] == 1){
// APP: // APP:
// #ifdef APP-PLUS // #ifdef APP-PLUS
...@@ -170,6 +170,19 @@ ...@@ -170,6 +170,19 @@
} }
// #endif // #endif
} }
}else{
uni.showModal({
content: res['message'],
success: function (res) {
if (res.confirm) {
console.log('用户点击确定');
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
}
}) })
}, },
//微信去提现 //微信去提现
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment