Ver código fonte

fix(依据投票活动 ID 获取投票列表): 路径错误.

eric 2 anos atrás
pai
commit
ab946b3e3a

+ 1 - 1
src/main/java/com/finikes/oc/vote/controller/VoteController.java

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