From fc2e03f0be876c2bd799535483ba88be610b57b9 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Mon, 29 Dec 2025 17:11:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E6=8E=A5=E5=8F=A3=20?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E6=96=87=E6=9C=AC=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/red/circle/other/inner/asserts/FamilyErrorCode.java | 2 +- .../red/circle/other/app/command/family/ApplyJoinFamilyExe.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/asserts/FamilyErrorCode.java b/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/asserts/FamilyErrorCode.java index 77eda515..c07549d1 100644 --- a/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/asserts/FamilyErrorCode.java +++ b/rc-service/rc-inner-api/other-inner/other-inner-model/src/main/java/com/red/circle/other/inner/asserts/FamilyErrorCode.java @@ -76,7 +76,7 @@ public enum FamilyErrorCode implements IResponseErrorCode { /** * 用户最近刚退出家族 */ - USER_RECENT_LEAVE(2513, "Your recently left a family. Please tryagain 1 day after leaving"), + USER_RECENT_LEAVE(2513, "Your recently left a family. Please try again 1 day after leaving"), /** * 家族承运不存在 diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/ApplyJoinFamilyExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/ApplyJoinFamilyExe.java index bfb992e7..17f8630f 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/ApplyJoinFamilyExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/ApplyJoinFamilyExe.java @@ -54,7 +54,7 @@ public class ApplyJoinFamilyExe { @Transactional(rollbackFor = Exception.class) public void execute(ApplyJoinFamilyCmd cmd) { - String string = redisService.getString(FamilyKeys.USER_LEAVE.getKey()); + String string = redisService.getString(FamilyKeys.USER_LEAVE.getKey(cmd.getReqUserId())); ResponseAssert.isNull(FamilyErrorCode.USER_RECENT_LEAVE, string); ResponseAssert.isFalse(FamilyErrorCode.THERE_ARE_FAMILIES_ERROR, getExistFamilyByUserId(cmd));