From 1004f3d16011f69894196bfd180ea539b76ba4e7 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 03 Jun 2026 15:27:26 +0800
Subject: [PATCH] 1

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

diff --git a/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiContractOrderController.java b/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiContractOrderController.java
index 65c5b1f..b32e987 100644
--- a/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiContractOrderController.java
+++ b/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiContractOrderController.java
@@ -78,8 +78,8 @@
                 contractOrderService.addDepositOpen(order, addDepositOpen);
             }
         } catch (Exception e) {
-            log.error("追加保证金异常", e);
-            throw new YamiShopBindException("追加保证金异常");
+            log.error("Failed to add margin", e);
+            throw new YamiShopBindException("Failed to add margin");
         }
         return Result.succeed("success");
     }
@@ -96,8 +96,8 @@
                 contractOrderService.update(order);
             }
         } catch (Exception e) {
-            log.error("追加保证金异常", e);
-            throw new YamiShopBindException("追加保证金异常");
+            log.error("Failed to add margin", e);
+            throw new YamiShopBindException("Failed to add margin");
         }
         return Result.succeed("success");
     }
@@ -169,7 +169,7 @@
         List<Realtime> realtime_all = this.dataService.realtime(symbolsStr);
         if (realtime_all.size() <= 0) {
             realtime_all = new ArrayList<Realtime>();
-//				throw new BusinessException("系统错误,请稍后重试");
+//				throw new BusinessException("System error, please try again later");
         }
 
         Map<String, Realtime> realtimeMap = new HashMap<String, Realtime>();
@@ -215,7 +215,7 @@
 
         if (null == order) {
             log.info("contractOrder!get order_no:" + order_no + ", order null");
-            throw new YamiShopBindException("订单不存在");
+            throw new YamiShopBindException("Order does not exist");
         }
 
         return Result.ok(this.contractOrderService.bulidOne(order));
@@ -256,10 +256,10 @@
         }
 
         if (!StringUtils.isInteger(page_no)) {
-            throw new YamiShopBindException("页码不是整数");
+            throw new YamiShopBindException("Page number must be an integer");
         }
         if (Integer.valueOf(page_no).intValue() <= 0) {
-            throw new YamiShopBindException("页码不能小于等于0");
+            throw new YamiShopBindException("Page number must be greater than 0");
         }
         String partyId = SecurityUtils.getCurrentUserId();
 

--
Gitblit v1.9.3