瀏覽代碼

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

eric 2 年之前
父節點
當前提交
ab946b3e3a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/finikes/oc/vote/controller/VoteController.java

+ 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);