diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/BindInviteCodeExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/BindInviteCodeExe.java index 2a50d356..3eb8f5ea 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/BindInviteCodeExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/BindInviteCodeExe.java @@ -53,7 +53,7 @@ public class BindInviteCodeExe { @Transactional(rollbackFor = Exception.class) public void execute(BindInviteCodeCmd cmd) { Long userId = cmd.getReqUserId(); - String inviteCode = cmd.getInviteCode(); + String inviteCode = cmd.getInviteCode().trim(); String inviteType = cmd.getInviteType(); String sysOrigin = cmd.getReqSysOrigin().getOrigin();