GlobalAward下载补充和数量接口

This commit is contained in:
litianxiang
2026-04-13 10:22:43 +08:00
parent 14dfe2806c
commit 14002e7331
3 changed files with 56 additions and 8 deletions

View File

@@ -182,6 +182,12 @@ public class GlobalAwardController {
return Response.success(exportedCount);
}
@GetMapping("/contestants/count")
@ApiOperation(value = "查询参赛者总数", notes = "查询数据库中参赛者的总数量")
public Response<Long> getContestantCount() {
return Response.success(globalAwardService.getContestantCount());
}
}