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 1bea8f3c..87dfc91b 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 @@ -150,7 +150,7 @@ public class BindInviteCodeExe { if (inviteCount >= 1) { spinsUserTaskProgressService.updateTaskProgress( new SpinsTaskProgressUpdateCmd() - .setUserId(userId) + .setUserId(inviterProfile.getId()) .setTaskCode("SPINS_INVITE_USER_1") .setProgressValue(inviteCount) ); @@ -160,7 +160,7 @@ public class BindInviteCodeExe { if (inviteCount >= 3) { spinsUserTaskProgressService.updateTaskProgress( new SpinsTaskProgressUpdateCmd() - .setUserId(userId) + .setUserId(inviterProfile.getId()) .setTaskCode("SPINS_INVITE_USER_3") .setProgressValue(inviteCount) );