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));