瀏覽代碼

fix epay bug

CaIon 2 年之前
父節點
當前提交
871daf2cfc
共有 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', {
                 amount: parseInt(topUpCount),
                 top_up_code: topUpCode,
-                PaymentMethod: payWay
+                payment_method: payWay
             });
             if (res !== undefined) {
                 const {message, data} = res.data;