|
|
@@ -246,7 +246,7 @@ export default {
|
|
|
that.returnCode = res.data.returnCode ? res.data.returnCode : ''
|
|
|
that.goPay = 2
|
|
|
|
|
|
- // 11105(用户输入密码中) 或 10000(其它密码状态),启动4秒一次、最多4次(16秒)的自动复查定时器
|
|
|
+ // 11105(用户输入密码中) 或 10000(其它密码状态),启动4秒一次、最多3次(12秒)的自动复查定时器
|
|
|
if (that.returnCode == 'BBS11105' || that.returnCode == 'BBS10000') {
|
|
|
that.startPolling()
|
|
|
} else {
|
|
|
@@ -268,7 +268,7 @@ export default {
|
|
|
},
|
|
|
/**
|
|
|
* 启动低频后台付款复查定时器
|
|
|
- * 4秒轮询一次,限查4次,极大地减轻服务器压力的同时保证业务流闭环
|
|
|
+ * 4秒轮询一次,限查3次,极大地减轻服务器压力的同时保证业务流闭环
|
|
|
*/
|
|
|
startPolling(){
|
|
|
this.clearPolling()
|
|
|
@@ -279,7 +279,7 @@ export default {
|
|
|
let that = this;
|
|
|
this.pollingTimer = setInterval(() => {
|
|
|
that.pollingCount++
|
|
|
- if (that.pollingCount > 4) {
|
|
|
+ if (that.pollingCount > 3) {
|
|
|
that.clearPolling()
|
|
|
that.isPaymentProcessing = false
|
|
|
that.goPay = 2
|
|
|
@@ -287,7 +287,7 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- that.remindText = `正在自动复查支付结果 (${that.pollingCount}/4)...`
|
|
|
+ that.remindText = `正在自动复查支付结果 (${that.pollingCount}/3)...`
|
|
|
|
|
|
codePayVerify({id:that.orderId}).then(res=>{
|
|
|
if(res.code == 1){
|