diff --git a/src/main/java/com/dl/officialsite/login/filter/LoginFilter.java b/src/main/java/com/dl/officialsite/login/filter/LoginFilter.java index 04c0004c..65ae66c2 100644 --- a/src/main/java/com/dl/officialsite/login/filter/LoginFilter.java +++ b/src/main/java/com/dl/officialsite/login/filter/LoginFilter.java @@ -68,6 +68,9 @@ public class LoginFilter extends OncePerRequestFilter { add("/bounty/detail/member"); add("/hire/all"); add("/hire/detail"); + add("/share/search"); + add("/share/query"); + add("/sponsors/all"); }} ; private Set noAddrCheckApis = new HashSet() {{ diff --git a/src/main/java/com/dl/officialsite/sponsor/SponsorController.java b/src/main/java/com/dl/officialsite/sponsor/SponsorController.java index 81a101b9..a998ca2c 100644 --- a/src/main/java/com/dl/officialsite/sponsor/SponsorController.java +++ b/src/main/java/com/dl/officialsite/sponsor/SponsorController.java @@ -27,7 +27,7 @@ public BaseResponse create(@RequestParam String address, @RequestBody Sponsor sp } @GetMapping("/all") - public BaseResponse all(@RequestParam String address) { + public BaseResponse all() { List sponsors = sponsorRepository.findAll(); return BaseResponse.successWithData(sponsors); }