From 69a9a663e1adde509f316f8c65522c094debba0a Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Fri, 19 Sep 2025 14:17:09 +0800
Subject: [PATCH] 重置账号

---
 trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiBankCardController.java |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiBankCardController.java b/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiBankCardController.java
index 80de65c..585e685 100644
--- a/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiBankCardController.java
+++ b/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiBankCardController.java
@@ -150,7 +150,7 @@
             // 已用额度
             double weekWithdraw = this.weekWithdraw(user.getUserId());
             if (Arith.add(weekWithdraw, withdrawVolumn) > limit) {
-                throw new YamiShopBindException("提现不得大于限额");
+                throw new YamiShopBindException("Withdrawal amount cannot exceed the limit.");
             }
         }
     }
@@ -243,7 +243,7 @@
             throw new YamiShopBindException("无权限");
         }
         if (!party.isEnabled()) {
-            throw new YamiShopBindException("用户已锁定");
+            throw new YamiShopBindException("User is locked");
         }
         // 手续费
         double fee = 0;
@@ -312,11 +312,11 @@
             }
             String withdraw_limit = this.sysparaService.find("withdraw_limit").getSvalue();
             if (coin_amount_double < Double.valueOf(withdraw_limit)) {
-                throw new YamiShopBindException("提现不得小于限额");
+                throw new YamiShopBindException("Withdrawal amount must not be less than the limit.");
             }
             String withdraw_limit_max = this.sysparaService.find("withdraw_limit_max").getSvalue();
             if (coin_amount_double > Double.valueOf(withdraw_limit_max)) {
-                throw new YamiShopBindException("提现不得大于限额");
+                throw new YamiShopBindException("Withdrawal amount cannot exceed the limit.");
             }
             // 检测银行卡用户当日提现次数
             Object obj = this.sysparaService.find("bank_card_withdraw_limit_num");
@@ -328,7 +328,7 @@
 
                 if (bank_card_withdraw_limit_num > 0 && c2cOrders != null) {
                     if (c2cOrders.size() >= bank_card_withdraw_limit_num) {
-                        throw new YamiShopBindException("当日可提现次数不足");
+                        throw new YamiShopBindException("The number of times funds can be withdrawn on the same day is insufficient.");
                     }
                 }
             }
@@ -341,7 +341,7 @@
                 String[] withdraw_time = withdraw_limit_time.split("-");
                 String dateString = sdf.format(date);
                 if (dateString.compareTo(withdraw_time[0]) < 0 || dateString.compareTo(withdraw_time[1]) > 0) {
-                    throw new YamiShopBindException("不在可提现时间内");
+                    throw new YamiShopBindException("Not within the available withdrawal period");
                 }
             }
             // 周提现额度限制开关
@@ -461,7 +461,7 @@
             throw new YamiShopBindException("无权限");
         }
         if (!party.isEnabled()) {
-            throw new YamiShopBindException("用户已锁定");
+            throw new YamiShopBindException("User is locked");
         }
         C2cOrder order = this.c2cOrderService.get(order_no);
         if (null == order || !order.getPartyId().equals(SecurityUtils.getUser().getUserId())) {
@@ -499,7 +499,8 @@
 //            c2cOrder.setUnreadMsg(unreadMsg.intValue());
 //        }
         if (StringUtils.isNotEmpty(c2cOrder.getMethodImg())) {
-            String path = Constants.WEB_URL + "/public/showimg!showImg.action?imagePath=" + c2cOrder.getMethodImg();
+            //String path = Constants.WEB_URL + "/public/showimg!showImg.action?imagePath=" + c2cOrder.getMethodImg();
+            String path = Constants.IMAGES_HTTP + c2cOrder.getMethodImg();
             c2cOrder.setMethodImg(path);
         }
         // 多语言

--
Gitblit v1.9.3