Skip to content

Commit

Permalink
Merge pull request #102 from NJUPT-SAST/dev-felmose
Browse files Browse the repository at this point in the history
fix return result of checkInService
  • Loading branch information
feellmoose authored Dec 12, 2023
2 parents f81fcbc + 8546637 commit fc9d3f7
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 fc9d3f7

Please sign in to comment.