apply-clients 4.1.64-weinan → 4.1.65-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
|
@@ -243,7 +243,7 @@ export default {
|
|
|
243
243
|
// 查询订单状态
|
|
244
244
|
try {
|
|
245
245
|
let http = new HttpResetClass()
|
|
246
|
-
|
|
246
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {
|
|
247
247
|
data: {
|
|
248
248
|
tablename: "t_weixinreturnxml",
|
|
249
249
|
condition: ` f_out_trade_no = '${this.order.f_out_trade_no}' and f_order_state = '已支付' `,
|
|
@@ -251,25 +251,26 @@ export default {
|
|
|
251
251
|
}, {
|
|
252
252
|
resolveMsg: null,
|
|
253
253
|
rejectMsg: '订单查询失败!!!'
|
|
254
|
-
})
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
254
|
+
}).then(res=>{
|
|
255
|
+
console.log('8888888888')
|
|
256
|
+
console.log(this.order.f_out_trade_no)
|
|
257
|
+
console.log(JSON.stringify(res))
|
|
258
|
+
// 支付成功
|
|
259
|
+
if (res.data.length > 0) {
|
|
260
|
+
this.$showMessage('支付成功!!!')
|
|
261
|
+
clearTimeout(this.paymentInterval)
|
|
262
|
+
clearTimeout(this.orderInterval)
|
|
263
|
+
this.timeLeft = 300
|
|
264
|
+
// 修改支付状态
|
|
265
|
+
this.updatestate('支付成功','有效')
|
|
266
|
+
if (isEmpty(this.otherid)){
|
|
267
|
+
this.saveother()
|
|
268
|
+
}
|
|
269
|
+
// 清除二维码
|
|
270
|
+
this.clearQrCode()
|
|
271
|
+
this.showQrCode = false
|
|
268
272
|
}
|
|
269
|
-
|
|
270
|
-
this.clearQrCode()
|
|
271
|
-
this.showQrCode = false
|
|
272
|
-
}
|
|
273
|
+
})
|
|
273
274
|
}catch (e){
|
|
274
275
|
this.state = '结束'
|
|
275
276
|
}
|