方法抽奖券处理

This commit is contained in:
tianfeng 2025-10-24 17:21:35 +08:00
parent c9a5c171da
commit 395474e1f3

View File

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