|
|
@@ -444,6 +444,24 @@ export default {
|
|
|
.replace('www.raex.vip', 'jump.raex.vip')
|
|
|
.replace('test.raex.vip', 'jumptest.raex.vip')
|
|
|
.replace(/http:\/\/192\.168.*?\//, 'https://jumptest.raex.vip/');
|
|
|
+ } else if (this.payType === 'QUICK_BIND') {
|
|
|
+ this.$http
|
|
|
+ .get('/payOrder/v2/auction/sandQuickBind?id=' + this.orderId)
|
|
|
+ .then(res => {
|
|
|
+ document.location.href = res;
|
|
|
+ this.getOrder(true);
|
|
|
+ })
|
|
|
+ .catch(e => {
|
|
|
+ this.$toast.clear();
|
|
|
+ this.$dialog
|
|
|
+ .alert({
|
|
|
+ title: '提示',
|
|
|
+ message: e.error || '支付失败'
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ this.$router.go(-2);
|
|
|
+ });
|
|
|
+ });
|
|
|
} else if (this.payType === 'BALANCE') {
|
|
|
if (!this.tradeCode) {
|
|
|
this.$toast.clear();
|
|
|
@@ -586,6 +604,24 @@ export default {
|
|
|
.replace('www.raex.vip', 'jump.raex.vip')
|
|
|
.replace('test.raex.vip', 'jumptest.raex.vip')
|
|
|
.replace(/http:\/\/192\.168.*?\//, 'https://jumptest.raex.vip/');
|
|
|
+ } else if (this.payType === 'QUICK_BIND') {
|
|
|
+ this.$http
|
|
|
+ .get('/payOrder/v2/auction/sandQuickBind?id=' + this.orderId)
|
|
|
+ .then(res => {
|
|
|
+ document.location.href = res;
|
|
|
+ this.getOrder(true);
|
|
|
+ })
|
|
|
+ .catch(e => {
|
|
|
+ this.$toast.clear();
|
|
|
+ this.$dialog
|
|
|
+ .alert({
|
|
|
+ title: '提示',
|
|
|
+ message: e.error || '支付失败'
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ this.$router.go(-2);
|
|
|
+ });
|
|
|
+ });
|
|
|
}
|
|
|
});
|
|
|
} else {
|