发货+兼容苹果
This commit is contained in:
@@ -321,7 +321,7 @@
|
||||
},
|
||||
// 页面加载完毕
|
||||
onReady() {
|
||||
this.requestIapOrder()
|
||||
// this.requestIapOrder()
|
||||
},
|
||||
// 下拉刷新
|
||||
onPullDownRefresh() {
|
||||
@@ -329,8 +329,9 @@
|
||||
this.tjProList = []
|
||||
this.getData()
|
||||
this.getTags()
|
||||
// this.requestIapOrder()
|
||||
uni.stopPullDownRefresh()
|
||||
this.requestIapOrder()
|
||||
|
||||
},
|
||||
onReachBottom() {
|
||||
this.loadingNow = true
|
||||
@@ -476,17 +477,7 @@
|
||||
that.ComplateRequestArr = results
|
||||
console.log(that.ComplateRequestArr,'未完成订单数组')
|
||||
if(results && results.length>0){
|
||||
// for(var j = 0; j<results.length; j++){
|
||||
// if(results[j].transactionState == '1'){
|
||||
// // 已经支付,但是没有走逻辑的内购订单
|
||||
// that.iapCheck(results[j])
|
||||
// // that.iapCheck(repciptData)
|
||||
// }else{
|
||||
// // 其他状态的内购订单 直接关闭
|
||||
// that.finishTransaction(results[j])
|
||||
|
||||
// }
|
||||
// }
|
||||
|
||||
results.map((item,index)=>{
|
||||
// "0"为正在支付;"1"为支付成功;"2"为支付失败;"3"为支付已恢复。
|
||||
if(item.transactionState == '1'){
|
||||
|
||||
Reference in New Issue
Block a user