初始化

master
法外狂徒张三 2024-09-06 08:47:23 +08:00
parent f221f3d25a
commit 143bfe15c0
1 changed files with 1 additions and 2 deletions

View File

@ -69,9 +69,8 @@ export default {
}); });
}, },
async topup(){ async topup(){
this.pay.subject=this.firminfoForm.firmTem
this.pay.totalAmount=this.money this.pay.totalAmount=this.money
const url = `http://10.0.2.1:8080/pay/alipay/pay?subject=${this.pay.subject}&totalAmount=${this.pay.totalAmount}`; const url = `http://10.0.2.1:8080/pay/alipay/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');