Skip to content

Commit

Permalink
fix return result of checkInService
Browse files Browse the repository at this point in the history
  • Loading branch information
feellmoose committed Dec 12, 2023
1 parent f81fcbc commit 8546637
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/sast/evento/controller/CheckInController.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ public String CheckIn(@RequestParam String code) {
throw new LocalRunTimeException(ErrorEnum.PARAM_ERROR,"code shouldn't be empty");
}
Integer eventId = codeService.getEventIdFromAuthCode(code);
participateService.participate(user.getId(),eventId,true);
return "签到成功";
return participateService.participate(user.getId(),eventId,true);
}

@OperateLog("生成活动签到二维码的验证码")
Expand Down

0 comments on commit 8546637

Please sign in to comment.