CaIon 2 سال پیش
والد
کامیت
fe360c0676
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      web/src/pages/TopUp/index.js

+ 1 - 1
web/src/pages/TopUp/index.js

@@ -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;