diff --git a/src/views/market/apitest/index.vue b/src/views/market/apitest/index.vue index e119490..583ca05 100644 --- a/src/views/market/apitest/index.vue +++ b/src/views/market/apitest/index.vue @@ -555,7 +555,7 @@ export default { // 这里假设你有一个发起支付的方法,传入所选行的数据 // startPayment(this.selectedRow); console.log(row) - window.open("http://localhost:9701/alipay/pay?ordersPrice=" + row.middlePrice) + window.open("http://21.12.0.10:80/prod-api/market/alipay/pay?ordersPrice=" + row.middlePrice) this.$message.success('付款成功') } diff --git a/src/views/market/orders/index.vue b/src/views/market/orders/index.vue index ebb691b..3e43b71 100644 --- a/src/views/market/orders/index.vue +++ b/src/views/market/orders/index.vue @@ -315,11 +315,12 @@ export default { pay(row){ console.log(row) window.open("http://21.12.0.10:80/prod-api/market/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice) + this.$message.success('付款成功') updateByordersState1(ordersForm).then(response=>{ alert(response.msg) - if (response.code==200){} - this.addordersoff=false + if (response.code==200){ } + }) diff --git a/src/views/market/workbench/index.vue b/src/views/market/workbench/index.vue index 48ccd8a..a83bafd 100644 --- a/src/views/market/workbench/index.vue +++ b/src/views/market/workbench/index.vue @@ -190,10 +190,10 @@ export default { insertmoney(moneyForm){ if (moneyForm.pay==1){ if (moneyForm.resource!=''){ - window.open("http://localhost:9701/alipay/pay?ordersPrice="+moneyForm.resource) + window.open("http://21.12.0.10:80/prod-api/market/alipay/pay?ordersPrice="+moneyForm.resource) this.$message.success('付款成功') }else { - window.open("http://localhost:9701/alipay/pay?ordersPrice="+moneyForm.resource) + window.open("http://21.12.0.10:80/prod-api/market/alipay/pay?ordersPrice="+moneyForm.resource) this.$message.success('付款成功') }