@@ -27,6 +27,7 @@ public class MyWebMvcConfig implements WebMvcConfigurer {
.addPathPatterns("/**")
.excludePathPatterns("/api/users/register")
.excludePathPatterns("/api/users/login")
+ .excludePathPatterns("/api/stores/all")
.excludePathPatterns("/api/ali/*")
.order(1);
}
@@ -25,7 +25,7 @@ public class StoreController {
return ResultVO.buildSuccess(storeService.getStore(id));
- @GetMapping
+ @GetMapping("/all")
public ResultVO<List<StoreVO>> getAllStores(){
return ResultVO.buildSuccess(storeService.getAllStores());