|
|
|
@ -147,16 +147,9 @@ |
|
|
|
|
key: "token", |
|
|
|
|
data: res.return_data.uniqueCode |
|
|
|
|
}) |
|
|
|
|
if (this.isWeiXinLogin()) { |
|
|
|
|
//微信内核支付 |
|
|
|
|
location.href = |
|
|
|
|
'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa075e8509802f826&redirect_uri=https%3A%2F%2Fhsgcs.dctpay.com%2FH5%2Findex.html%23%2F&response_type=code&scope=snsapi_base&state=1#wechat_redirect' |
|
|
|
|
} else { |
|
|
|
|
uni.reLaunch({ |
|
|
|
|
url: '../unionPay/unionPay-entrance/unionPay-entrance' |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uni.reLaunch({ |
|
|
|
|
url: '../unionPay/unionPay-entrance/unionPay-entrance' |
|
|
|
|
}) |
|
|
|
|
} else { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: res.return_msg, |
|
|
|
|