From 640ccb9229224642515527daf87f308a7aa9bdf4 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 10 Jun 2026 11:47:26 +0800
Subject: [PATCH] 1
---
trading-order-admin/src/main/java/com/yami/trading/admin/controller/c2c/C2cPaymentMethodConfigController.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/trading-order-admin/src/main/java/com/yami/trading/admin/controller/c2c/C2cPaymentMethodConfigController.java b/trading-order-admin/src/main/java/com/yami/trading/admin/controller/c2c/C2cPaymentMethodConfigController.java
index ad0469a..2324cc0 100644
--- a/trading-order-admin/src/main/java/com/yami/trading/admin/controller/c2c/C2cPaymentMethodConfigController.java
+++ b/trading-order-admin/src/main/java/com/yami/trading/admin/controller/c2c/C2cPaymentMethodConfigController.java
@@ -111,7 +111,7 @@
public Result<GetC2cPaymentMethodConfigDto> getDesc(@RequestParam String id) {
C2cPaymentMethodConfig cfg = this.c2cPaymentMethodConfigService.getById(id);
if (null == cfg) {
- throw new YamiShopBindException("支付方式模板不存在");
+ throw new YamiShopBindException("Payment method template does not exist");
}
Map<String, String> map = c2cAdvertService.getC2cSyspara("c2c_payment_method_type");
GetC2cPaymentMethodConfigDto dto = new GetC2cPaymentMethodConfigDto();
@@ -265,7 +265,7 @@
sysUserService.checkSafeWord(config.getLoginSafeword());
C2cPaymentMethodConfig cfg = this.c2cPaymentMethodConfigService.getById(id);
if (null == cfg) {
- throw new YamiShopBindException("支付方式模板不存在");
+ throw new YamiShopBindException("Payment method template does not exist");
}
String log = MessageFormat.format("ip:" + IPHelper.getIpAddr()
+ ",管理员更新支付方式模板,id:{0},原支付方式类型:{1},原支付方式名称:{2},原支付方式图片:{3},原参数名1:{4},原参数名2:{5},原参数名3:{6},原参数名4:{7},原参数名5:{8},"
@@ -384,13 +384,13 @@
String content = model.getContent();
String lang_trans = model.getLangTrans();
if (StringUtils.isEmptyString(content_name)) {
- throw new YamiShopBindException("内容名称不能为空");
+ throw new YamiShopBindException("Content name cannot be empty");
}
if (StringUtils.isEmptyString(content)) {
- throw new YamiShopBindException("要翻译的内容不能为空");
+ throw new YamiShopBindException("Content to translate cannot be empty");
}
if (StringUtils.isEmptyString(lang_trans)) {
- throw new YamiShopBindException("翻译不能为空");
+ throw new YamiShopBindException("Translation cannot be empty");
}
this.c2cTranslateService.saveTranslate(content, lang_trans);
@@ -415,10 +415,10 @@
String name = model.getName();
String trans = model.getTrans();
if (StringUtils.isEmpty(name)) {
- throw new YamiShopBindException("要翻译的内容不能为空");
+ throw new YamiShopBindException("Content to translate cannot be empty");
}
if (StringUtils.isEmpty(trans)) {
- throw new YamiShopBindException("翻译不能为空");
+ throw new YamiShopBindException("Translation cannot be empty");
}
c2cTranslateService.saveTranslate(name, trans);
--
Gitblit v1.9.3