|
|
|
@ -176,6 +176,9 @@ public interface StoreClient {
@@ -176,6 +176,9 @@ public interface StoreClient {
|
|
|
|
|
@RequestMapping(method = RequestMethod.GET, value = "/stores") |
|
|
|
|
List<Store> getStores(); |
|
|
|
|
|
|
|
|
|
@RequestMapping(method = RequestMethod.GET, value = "/stores") |
|
|
|
|
Page<Store> getStores(Pageable pageable); |
|
|
|
|
|
|
|
|
|
@RequestMapping(method = RequestMethod.POST, value = "/stores/{storeId}", consumes = "application/json") |
|
|
|
|
Store update(@PathVariable("storeId") Long storeId, Store store); |
|
|
|
|
}</code></pre> |
|
|
|
|