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/user/UserRecomController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/trading-order-admin/src/main/java/com/yami/trading/admin/controller/user/UserRecomController.java b/trading-order-admin/src/main/java/com/yami/trading/admin/controller/user/UserRecomController.java
index 130d33a..959aef2 100644
--- a/trading-order-admin/src/main/java/com/yami/trading/admin/controller/user/UserRecomController.java
+++ b/trading-order-admin/src/main/java/com/yami/trading/admin/controller/user/UserRecomController.java
@@ -69,15 +69,15 @@
model.setLoginSafeword(passwordManager.decryptPassword(model.getLoginSafeword()));
SysUser sysUser = sysUserService.getSysUserById( SecurityUtils.getSysUser().getUserId());
if(!passwordEncoder.matches(model.getLoginSafeword(), sysUser.getSafePassword())) {
- throw new YamiShopBindException("资金密码不正确!");
+ throw new YamiShopBindException("Incorrect fund password!");
}
UserRecom userRecom= userRecomService.getById(model.getId());
if (userRecom==null){
- throw new YamiShopBindException("参数错误!");
+ throw new YamiShopBindException("Invalid parameters!");
}
User user=userService.findUserByUserCode(model.getUserCode());
if (user==null){
- throw new YamiShopBindException("推荐人UID错误");
+ throw new YamiShopBindException("Invalid referrer UID");
}
userRecom.setRecomUserId(user.getUserId());
userRecomService.updateById(userRecom);
--
Gitblit v1.9.3