From 88be8a7be6312954cf16bbced756ccb2c66c48b5 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Fri, 05 Jul 2024 16:50:51 +0800
Subject: [PATCH] 更改logo,充值上传图片错误修复
---
src/views/wallet/recharge.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/views/wallet/recharge.vue b/src/views/wallet/recharge.vue
index 630b581..5e9888d 100644
--- a/src/views/wallet/recharge.vue
+++ b/src/views/wallet/recharge.vue
@@ -235,7 +235,7 @@
<div class="text-center">
<el-upload
class="avatar-uploader"
- :action="`${nowUrl}/api/api/uploadFile`"
+ :action="`${nowUrl}/wap/public/uploadimg!execute.action`"
accept=".jpg,.jpeg,.png,.gif.JPG,.JPEG,.PNG,.GIF"
:show-file-list="false"
:on-success="handelDoucumentsFront"
@@ -462,7 +462,7 @@
};
},
mounted() {
- this.nowUrl = "https://enjdhdg.site";
+ this.nowUrl = "https://www.coinzne.com";
let spToken = localStorage.getItem("spToken");
if (spToken) {
this.getAddress();
@@ -474,9 +474,9 @@
handleSymbolImg,
//上传付款凭证
handelDoucumentsFront(res, file) {
- const { path, httpUrl } = res.data;
- this.oneImg = httpUrl;
- this.rechargeImg = path;
+ const data = res.data;
+ this.oneImg = `${this.nowUrl}/wap/public/showimg!showImg.action?imagePath=${data}`;
+ this.rechargeImg = data;
},
onErrorUpload() {
this.$message.warning(this.$t("message.user.shangchuan3"));
@@ -573,7 +573,7 @@
//充币
handleRecharge() {
if (this.quantity && this.quantity > 0) {
- Axios2.url("api/rechargeBlockchain/recharge", {
+ Axios2.url("/wap/api/rechargeBlockchain!recharge.action", {
session_token: this.session_token,
amount: this.quantity,
from: this.address,
--
Gitblit v1.9.3