From 22eb76a440ac58b8f1cb25abcf5d78616d89ae7c Mon Sep 17 00:00:00 2001 From: Songsl <2431955898@qq.com> Date: Thu, 25 Jun 2026 10:35:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E8=BD=AC=E8=B4=A6--=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E8=BD=AC=E8=B4=A6=E8=BD=AC=E5=85=A5=E8=B4=A6=E5=8F=B7=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 14 +++++++------- src/views/capital/transfer/index.vue | 17 +---------------- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/.env.development b/.env.development index f34fb65..d692d45 100644 --- a/.env.development +++ b/.env.development @@ -1,17 +1,17 @@ -# 开发环境标识(Vite 内置变量,无需修改) -NODE_ENV = development +# 测试环境标识 +NODE_ENV = test -# 开发环境接口基础地址(对应你配置的 https://adminapi.apimcapital.top/api) -VITE_API_BASE_URL = https://adminapi.apimcapital.top/api +# 测试环境接口基础地址 +VITE_API_BASE_URL = https://adminapi.duxiang.wiki/api # 请求超时时间(毫秒) VITE_REQUEST_TIMEOUT = 10000 -# 可选:开发环境其他配置(如是否开启调试) +# 可选:测试环境其他配置 VITE_DEBUG = true # 交易mqtt -VITE_MQTT_TRANSACTION_HOST=wss://adminapi.apimcapital.top/mqtt +VITE_MQTT_TRANSACTION_HOST = wss://adminapi.duxiang.wiki/mqtt # exe 下载基础地址 -VITE_EXE_DOWNLOAD_BASE_URL = https://adminh5.apimcapital.top \ No newline at end of file +VITE_EXE_DOWNLOAD_BASE_URL = https://adminh5.duxiang.wiki diff --git a/src/views/capital/transfer/index.vue b/src/views/capital/transfer/index.vue index ae8b4d4..0e4cdf0 100644 --- a/src/views/capital/transfer/index.vue +++ b/src/views/capital/transfer/index.vue @@ -399,21 +399,6 @@ const handleTransferTabClick = async (type: string) => { transferType.value = type await resetTransferForm() } -/** - * @description 切换验证方式 - * @param type 验证方式 - */ -const handleVerifyParams = (type: string) => { - if (type === 'external') { - if (verifyForm.value.verifyType === 'email') { - return userInfo.email - } else { - return userInfo.mobile - } - } else { - return transferForm.value.transferInAccount - } -} /** * @description 提交转账表单 @@ -428,7 +413,7 @@ const handleSubmit = async () => { const params = { type: transferType.value === 'internal' ? '1' : '2', from: String(transferForm.value.transferOutAccount) + '', - to: handleVerifyParams(transferType.value) + '', + to: transferForm.value.transferInAccount + '', amount: transferForm.value.transferAmount, verify_type: '', verify_code: '',