fix(api): 修正用户充值接口的数据提交方式
修复了用户充值接口`userRecharge`在提交数据时使用了错误的HTTP方法和URL。现在使用正确的POST方法和支付接口URL,以确保用户充值功能正常工作。master
parent
a2baf98908
commit
fb04ce4cad
|
@ -11,12 +11,13 @@ export function listUser(query) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 用户余额
|
|
||||||
|
// 充值用户余额
|
||||||
export function userRecharge(data) {
|
export function userRecharge(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/system/alipay/recharge',
|
url: '/system/aliyun/pay/payZFB',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue