fix epay bug

This commit is contained in:
CaIon 2023-11-24 14:12:27 +08:00
parent 381c354313
commit fe360c0676

View File

@ -69,7 +69,7 @@ const TopUp = () => {
const res = await API.post('/api/user/pay', { const res = await API.post('/api/user/pay', {
amount: parseInt(topUpCount), amount: parseInt(topUpCount),
top_up_code: topUpCode, top_up_code: topUpCode,
PaymentMethod: payWay payment_method: payWay
}); });
if (res !== undefined) { if (res !== undefined) {
const {message, data} = res.data; const {message, data} = res.data;