From e88c67ddf91ce593785f565912837c9a3ffe3930 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Tue, 12 Aug 2025 15:17:50 +0800
Subject: [PATCH] 1

---
 src/views/cryptos/Withdraw/withdrawPage.vue |   51 ++++++++++++++++++++++++++-------------------------
 1 files changed, 26 insertions(+), 25 deletions(-)

diff --git a/src/views/cryptos/Withdraw/withdrawPage.vue b/src/views/cryptos/Withdraw/withdrawPage.vue
index e0ffef4..df60089 100644
--- a/src/views/cryptos/Withdraw/withdrawPage.vue
+++ b/src/views/cryptos/Withdraw/withdrawPage.vue
@@ -122,7 +122,7 @@
 <script>
 import { Popup, ActionSheet, showToast } from "vant"
 import Axios from "@/service/recharge.js"
-import { _withdrawFee } from "@/service/withdraw.api.js"
+import { _withdrawFee,_withdrawApply } from "@/service/withdraw.api.js"
 import assetsHead from "@/components/Transform/assets-head/index.vue";
 import BarScan from '@/components/Transform/scan/scan.vue';
 import { _getAllWallet } from "@/service/fund.api";
@@ -140,7 +140,7 @@
       value: 'USDT', //选中的币种
       show: false,
       showSymbol: false,
-      actions: [{ name: 'USDT' }, { name: 'BTC' }, { name: 'ETH' }],
+      actions: [{ name: 'USDT' }, { name: 'BTC' }, { name: 'ETH' }, { name: 'USDC' }],
       blockList: [],
       blockchainIndex: "",
       usdtBalance: "", //余额
@@ -341,29 +341,30 @@
       }
 
       if (this.amount && this.address) {
-        this.$router.push({
-          path: '/cryptos/withdraw/securityVerification',
-          query: {
-            amount: this.amount,
-            from: this.address,
-            channel: this.value + '_' + this.blockName
-          }
-        })
-        // AxiosWithdraw.WithdrawApply({
-        //     session_token:this.sessionToken,
-        //     amount:this.amount,
-        //     from:this.address,
-        //     channel:this.value+'_'+ this.blockName
-        // }).then((res)=> {
-        //     if(res.code==0) {
-        //         this.$router.push({
-        //             path:"/withdraw/withdrawSumbit"
-        //         });
-        //     }else{
-        //       this.$toast(this.$t(res.msg));
-        //     }
-        //     this.getToken();
-        // });
+        // this.$router.push({
+        //   path: '/cryptos/withdraw/securityVerification',
+        //   query: {
+        //     amount: this.amount,
+        //     from: this.address,
+        //     channel: this.value + '_' + this.blockName
+        //   }
+        // })
+        _withdrawApply({
+            session_token:this.sessionToken,
+            amount:this.amount,
+            from:this.address,
+            channel:this.value+'_'+ this.blockName
+        }).then((res)=> {
+			console.log('123123123123123',res);
+            if(res.code==0) {
+                this.$router.push({
+                    path:"/withdraw/withdrawSumbit"
+                });
+            }else{
+              this.$toast(this.$t(res.msg));
+            }
+            this.getToken();
+        });
       } else {
         showToast(this.$t('请输入提币数量'));
       }

--
Gitblit v1.9.3