|
@@ -103,7 +103,7 @@ public class VoteController {
|
|
|
* @param activityId 投票活动 ID
|
|
* @param activityId 投票活动 ID
|
|
|
* @return 接口返回对象
|
|
* @return 接口返回对象
|
|
|
*/
|
|
*/
|
|
|
- @GetMapping(" votes/")
|
|
|
|
|
|
|
+ @GetMapping("votes/")
|
|
|
public ApiResponse<List<VoteViewDto>> searchVote(@RequestParam("activityId") Integer activityId) {
|
|
public ApiResponse<List<VoteViewDto>> searchVote(@RequestParam("activityId") Integer activityId) {
|
|
|
List<VoteViewDto> votes = voteService.searchVotes(activityId);
|
|
List<VoteViewDto> votes = voteService.searchVotes(activityId);
|
|
|
return ApiResponse.successful(votes);
|
|
return ApiResponse.successful(votes);
|