fix(api): 修正用户充值接口的数据提交方式

修复了用户充值接口`userRecharge`在提交数据时使用了错误的HTTP方法和URL。现在使用正确的POST方法和支付接口URL,以确保用户充值功能正常工作。
master
wxy 2024-08-25 18:24:29 +08:00
parent fb04ce4cad
commit 9e4d3bce18
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ export default {
amountVal: '',
disabled: false,
//
returnUrl:'http://localhost:8090/#/entertainment/payment',
returnUrl: 'http://172.13.1.1/money/money',
//
rechargeParams: {
"totalAmt": '', //
@ -75,7 +75,7 @@ export default {
} else if (this.rechargeParams.paymentType === '1') {
let praem = {
// 便
// 便
outTradeNo: this.getProjectNum() + Math.floor(Math.random() * 10000),
//
totalAmount: this.rechargeParams.totalAmt,