|
@@ -108,6 +108,8 @@ Page({
|
|
|
// 获取优惠券列表
|
|
|
this.getCouponList()
|
|
|
}
|
|
|
+ }).catch(error=>{
|
|
|
+ console.log(error);
|
|
|
})
|
|
|
} else {
|
|
|
// 获取优惠券列表
|
|
@@ -446,6 +448,8 @@ getphoneClick() {
|
|
|
this.loading = false
|
|
|
}, 4000)
|
|
|
}
|
|
|
+ }).catch(error => {
|
|
|
+ console.log(error)
|
|
|
})
|
|
|
}
|
|
|
},
|
|
@@ -523,6 +527,9 @@ shuaxinClick() {
|
|
|
})
|
|
|
|
|
|
}
|
|
|
+ }).catch(error=>{
|
|
|
+ console.log(222222)
|
|
|
+ console.log(error)
|
|
|
})
|
|
|
},
|
|
|
|
|
@@ -621,6 +628,9 @@ paymentClick() {
|
|
|
}, 2500)
|
|
|
}
|
|
|
|
|
|
+ }).catch(error=>{
|
|
|
+ console.log('zhifu')
|
|
|
+ console.log(error)
|
|
|
})
|
|
|
}
|
|
|
},
|
|
@@ -801,6 +811,9 @@ paymentClick() {
|
|
|
})
|
|
|
}, 2500)
|
|
|
}
|
|
|
+ }).catch(error=>{
|
|
|
+ console.log('duanxin')
|
|
|
+ console.log(error)
|
|
|
})
|
|
|
}
|
|
|
},
|
|
@@ -840,6 +853,9 @@ paymentClick() {
|
|
|
})
|
|
|
}, 2500)
|
|
|
}
|
|
|
+ }).catch(error=>{
|
|
|
+ console.log('chongxin')
|
|
|
+ console.log(error)
|
|
|
});
|
|
|
} else {
|
|
|
if (this.data.activeNum === 0 && this.data.codeName === '重新获取验证码') {
|
|
@@ -869,6 +885,9 @@ paymentClick() {
|
|
|
})
|
|
|
}, 2500)
|
|
|
}
|
|
|
+ }).catch(error=>{
|
|
|
+ console.log('chongxin')
|
|
|
+ console.log(error)
|
|
|
});
|
|
|
} else if (this.data.activeNum === 1 && this.data.codeName === '重新获取验证码') {
|
|
|
console.log('短信')
|
|
@@ -900,6 +919,9 @@ paymentClick() {
|
|
|
})
|
|
|
}, 2500)
|
|
|
}
|
|
|
+ }).catch(error=>{
|
|
|
+ console.log('chongxin')
|
|
|
+ console.log(error)
|
|
|
});
|
|
|
}
|
|
|
}
|