From f31fc9f42f78de0808e7f4bdc797c5e622df09e3 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 10 Jun 2026 11:22:37 +0800
Subject: [PATCH] 1
---
trading-order-admin/src/main/java/com/yami/trading/admin/controller/syspara/SysparaController.java | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/trading-order-admin/src/main/java/com/yami/trading/admin/controller/syspara/SysparaController.java b/trading-order-admin/src/main/java/com/yami/trading/admin/controller/syspara/SysparaController.java
index b439e95..cb63989 100644
--- a/trading-order-admin/src/main/java/com/yami/trading/admin/controller/syspara/SysparaController.java
+++ b/trading-order-admin/src/main/java/com/yami/trading/admin/controller/syspara/SysparaController.java
@@ -176,7 +176,7 @@
throw new YamiShopBindException("The fund password cannot be blank");
}
if (StringUtils.isEmpty(sysparasDto.getSuper_google_auth_code())) {
- throw new YamiShopBindException("谷歌验证码不能为空");
+ throw new YamiShopBindException("Google Authenticator code is required");
}
}
@@ -184,19 +184,19 @@
private void verificationWithdraw(SysparasDto sysparasDto) {
if(StringUtils.isBlank(sysparasDto.getWithdraw_limit_num())){
- throw new YamiShopBindException("withdraw_limit_num不能为空");
+ throw new YamiShopBindException("withdraw_limit_num cannot be empty");
}
if(StringUtils.isBlank(sysparasDto.getWithdraw_limit())){
- throw new YamiShopBindException("withdraw_limit不能为空");
+ throw new YamiShopBindException("withdraw_limit cannot be empty");
}
if(StringUtils.isBlank(sysparasDto.getWithdraw_limit_turnover_percent())){
- throw new YamiShopBindException("withdraw_limit_turnover_percent不能为空");
+ throw new YamiShopBindException("withdraw_limit_turnover_percent cannot be empty");
}
if(StringUtils.isBlank(sysparasDto.getWithdraw_limit_max())){
- throw new YamiShopBindException("withdraw_limit_max不能为空");
+ throw new YamiShopBindException("withdraw_limit_max cannot be empty");
}
if(StringUtils.isBlank(sysparasDto.getWithdraw_limit_dapp())){
- throw new YamiShopBindException("withdraw_limit_dapp不能为空");
+ throw new YamiShopBindException("withdraw_limit_dapp cannot be empty");
}
double withdraw_limit_num = Double.valueOf(sysparasDto.getWithdraw_limit_num());
double withdraw_limit = Double.valueOf(sysparasDto.getWithdraw_limit());
@@ -207,23 +207,23 @@
double withdraw_limit_max = Double.valueOf(sysparasDto.getWithdraw_limit_max());
double withdraw_limit_dapp = Double.valueOf(sysparasDto.getWithdraw_limit_dapp());
if (withdraw_limit_num < 0) {
- throw new YamiShopBindException("每日可提现次数不得小于0");
+ throw new YamiShopBindException("Daily withdrawal count must not be less than 0");
}
if (withdraw_limit < 0) {
- throw new YamiShopBindException("提现最低金额不得小于0");
+ throw new YamiShopBindException("Minimum withdrawal amount must not be less than 0");
}
if (withdraw_limit_turnover_percent < 0) {
- throw new YamiShopBindException("提现限制流水按百分币不得小于0");
+ throw new YamiShopBindException("Withdrawal turnover percentage must not be less than 0");
}
if (StringUtils.isEmpty( withdraw_limit_time_min )) {
- throw new YamiShopBindException("最早提现时间不能为空");
+ throw new YamiShopBindException("Earliest withdrawal time cannot be empty");
}
if (StringUtils.isEmpty( withdraw_limit_time_max )) {
- throw new YamiShopBindException("最晚提现时间不能为空");
+ throw new YamiShopBindException("Latest withdrawal time cannot be empty");
}
if (withdraw_limit_dapp < 0) {
- throw new YamiShopBindException("最低提现额度不得小于0");
+ throw new YamiShopBindException("Minimum withdrawal limit must not be less than 0");
}
}
@@ -234,19 +234,19 @@
Double exchange_apply_order_sell_fee = Double.valueOf(sysparasDto.getExchange_apply_order_sell_fee());
Double futures_most_prfit_level = Double.valueOf(sysparasDto.getFutures_most_prfit_level());
if (recharge_limit_min < 0) {
- throw new YamiShopBindException("充值最低金额不得小于0");
+ throw new YamiShopBindException("Minimum recharge amount must not be less than 0");
}
if (recharge_limit_max < 0 || recharge_limit_max < recharge_limit_min) {
- throw new YamiShopBindException("充值最高金额不得小于0或小于充值最低金额");
+ throw new YamiShopBindException("Maximum recharge amount must not be less than 0 or less than the minimum recharge amount");
}
if (exchange_apply_order_buy_fee < 0) {
- throw new YamiShopBindException("币币交易买入手续费不得小于0");
+ throw new YamiShopBindException("Spot buy fee must not be less than 0");
}
if (exchange_apply_order_sell_fee < 0) {
- throw new YamiShopBindException("币币交易卖出手续费不得小于0");
+ throw new YamiShopBindException("Spot sell fee must not be less than 0");
}
if (futures_most_prfit_level < 0) {
- throw new YamiShopBindException("交割合约赢率不得小于0");
+ throw new YamiShopBindException("Delivery contract win rate must not be less than 0");
}
}
@@ -263,7 +263,7 @@
this.sysparaService.saveOrUpdate(syspara);
return Result.ok("修改成功");
} else {
- throw new YamiShopBindException("参数不存在");
+ throw new YamiShopBindException("Parameter does not exist");
}
}
--
Gitblit v1.9.3