|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-07-08 11:46:30
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-07-12 15:36:28
|
|
|
|
|
* @LastEditTime: 2022-07-12 15:48:01
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
@ -67,7 +67,7 @@ const ENV = process.env;
|
|
|
|
|
payOrderNo : this.payOrderNo
|
|
|
|
|
})
|
|
|
|
|
if(error){
|
|
|
|
|
uni._$toast(error.message);
|
|
|
|
|
await uni._$toast(error.message);
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
this.orderInfo = result;
|
|
|
|
@ -101,9 +101,9 @@ const ENV = process.env;
|
|
|
|
|
signType : par.signType,
|
|
|
|
|
paySign : par.paySign
|
|
|
|
|
}, async res => {
|
|
|
|
|
if(res !== 'get_brand_wcpay_request:cancel'){
|
|
|
|
|
if(res !== 'get_brand_wcpay_request:ok'){
|
|
|
|
|
await uni._$toast(res);
|
|
|
|
|
if(res.errMsg !== 'get_brand_wcpay_request:cancel'){
|
|
|
|
|
if(res.errMsg !== 'get_brand_wcpay_request:ok'){
|
|
|
|
|
await uni._$toast(res.errMsg);
|
|
|
|
|
}
|
|
|
|
|
if(this.orderInfo.returnUrl){
|
|
|
|
|
window.location.replace(this.orderInfo.returnUrl);
|
|
|
|
|