GlobalAward保存成功发送站内信,根据url可跳转且召回已填写资料

This commit is contained in:
litianxiang
2026-01-21 14:59:41 +08:00
parent b1e6183dd1
commit 6db0afd515
5 changed files with 26 additions and 18 deletions

View File

@@ -145,12 +145,12 @@ public class GlobalAwardController {
return Response.success(globalAwardService.saveContestant(request));
}
// @GetMapping("/contestants/by-email")
// @ApiOperation(value = "根据邮箱查询参赛者", notes = "根据邮箱地址获取参赛者信息")
// public Response<ContestantDTO> getContestantByEmail(@ApiParam(value = "参赛者邮箱地址", required = true) @RequestParam("email") String email) {
// ContestantDTO dto = globalAwardService.getContestantByEmail(email);
// return Response.success(dto);
// }
@GetMapping("/contestants/{id}")
@ApiOperation(value = "根据id查询参赛者", notes = "根据id获取参赛者信息")
public Response<ContestantDTO> getContestantByID(@ApiParam(value = "参赛者id", required = true) @PathVariable("id") String id) {
ContestantDTO dto = globalAwardService.getContestantByID(id);
return Response.success(dto);
}
@GetMapping("/checkEmail")
public Response<String> checkEmail(@RequestParam("email") String email) {