|
@@ -25,7 +25,7 @@ public class StoreController {
|
|
|
return ResultVO.buildSuccess(storeService.getStore(id));
|
|
return ResultVO.buildSuccess(storeService.getStore(id));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @GetMapping
|
|
|
|
|
|
|
+ @GetMapping("/all")
|
|
|
public ResultVO<List<StoreVO>> getAllStores(){
|
|
public ResultVO<List<StoreVO>> getAllStores(){
|
|
|
return ResultVO.buildSuccess(storeService.getAllStores());
|
|
return ResultVO.buildSuccess(storeService.getAllStores());
|
|
|
}
|
|
}
|