GlobalAward下载补充和数量接口
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user