支付相应更新
This commit is contained in:
@@ -110,6 +110,21 @@ var iap = {
|
|||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
console.log('后台验证失败=>',e);
|
console.log('后台验证失败=>',e);
|
||||||
|
uni.showModal({
|
||||||
|
title: "提示",
|
||||||
|
cancelColor:'#0081ff',
|
||||||
|
content: `您的账户下存在验证异常的订单(订单编号为:${e.data.orderId}),可尝试稍后重启app,如不能解决您的问题,可联系官方客服`,
|
||||||
|
cancelText:'已验证关闭订单',
|
||||||
|
confirmText:'知道了',
|
||||||
|
success: function(res) {
|
||||||
|
if (res.confirm) {
|
||||||
|
console.log("用户点击确定");
|
||||||
|
}else{
|
||||||
|
console.log('点了取消')
|
||||||
|
that.finishTransaction(result);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
});
|
||||||
// that.finishTransaction(result);
|
// that.finishTransaction(result);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user