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

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

View File

@ -11,12 +11,13 @@ export function listUser(query) {
}
// 用户余额
// 充值用户余额
export function userRecharge(data) {
return request({
url: '/system/alipay/recharge',
url: '/system/aliyun/pay/payZFB',
method: 'post',
params: data
data: data
})
}