初始化
parent
d0c5141ce8
commit
0a80bc237f
|
@ -160,7 +160,7 @@ export default {
|
||||||
this.pay.subject=customer.sysIntro
|
this.pay.subject=customer.sysIntro
|
||||||
this.pay.traceNo=Math.floor(Math.random() * 900000) + 100000
|
this.pay.traceNo=Math.floor(Math.random() * 900000) + 100000
|
||||||
this.pay.totalAmount=customer.sysNumber
|
this.pay.totalAmount=customer.sysNumber
|
||||||
const url = `http://10.0.2.1:8080/pay/alipay/pay?subject=${this.pay.subject}&traceNo=${this.pay.traceNo}&totalAmount=${this.pay.totalAmount}`;
|
const url = `http://10.0.2.1:8080/pay/alipay/pay?subject=${this.pay.subject}&totalAmount=${this.pay.totalAmount}`;
|
||||||
pay(this.pay).then(res => {
|
pay(this.pay).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
window.open(url, '_self');
|
window.open(url, '_self');
|
||||||
|
|
Loading…
Reference in New Issue