apply-clients 4.1.21-weinan → 4.1.22-weinan
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -558,6 +558,7 @@ export default {
|
|
|
558
558
|
this.timeLeft = 300
|
|
559
559
|
// 修改支付状态
|
|
560
560
|
this.updatestate('支付失败')
|
|
561
|
+
this.closeOrder()
|
|
561
562
|
// 清除二维码
|
|
562
563
|
this.clearQrCode()
|
|
563
564
|
this.showQrCode = false
|
|
@@ -574,6 +575,20 @@ export default {
|
|
|
574
575
|
rejectMsg: '修改失败!!!'
|
|
575
576
|
})
|
|
576
577
|
this.search()
|
|
578
|
+
},
|
|
579
|
+
async closeOrder(){
|
|
580
|
+
let data = {
|
|
581
|
+
"flag":"JsApiWeiNan",
|
|
582
|
+
"f_filiale": "weinanchengtou",
|
|
583
|
+
"f_out_trade_no": this.order.f_out_trade_no,// 商户单号
|
|
584
|
+
"isClose":"是",
|
|
585
|
+
"f_sys_trace":this.order.f_sys_trace // 交易流水号
|
|
586
|
+
}
|
|
587
|
+
let http = new HttpResetClass()
|
|
588
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/wx/rs/pay/microPayOrderStatus`, {data:data}, {
|
|
589
|
+
resolveMsg: null,
|
|
590
|
+
rejectMsg: '关闭失败!!!'
|
|
591
|
+
})
|
|
577
592
|
}
|
|
578
593
|
// async getConfig () {
|
|
579
594
|
// let http = new HttpResetClass()
|
|
@@ -610,6 +625,7 @@ export default {
|
|
|
610
625
|
this.timeLeft = 300
|
|
611
626
|
// 修改支付状态
|
|
612
627
|
this.updatestate('支付失败')
|
|
628
|
+
this.closeOrder()
|
|
613
629
|
// 清除二维码
|
|
614
630
|
this.clearQrCode()
|
|
615
631
|
|