Browse Source

Add /merchant prefix to Api /merchant/<merchantId>/posters

xuchaolang 6 years ago
parent
commit
e06c345575

+ 1 - 1
rankin-api-web/src/main/java/cn/rankin/apiweb/service/product/ProductClient.java

@@ -58,7 +58,7 @@ public interface ProductClient {
     @RequestMapping(value = "/goods/{goodsId}", method = RequestMethod.GET)
     APIResult<Goods> findGoods(@PathVariable("goodsId") String goodsId);
 
-    @RequestMapping(value = "/{merchantId}/posters", method = RequestMethod.GET)
+    @RequestMapping(value = "/merchant/{merchantId}/posters", method = RequestMethod.GET)
     List<Poster> getPosters(@PathVariable("merchantId") String merchantId, @RequestParam("start") Long start,
                                    @RequestParam("offset") Integer offset, @RequestParam("sortKey") String sortKey,
                                    @RequestParam("direction") Sort.Direction direction);