chao преди 4 години
родител
ревизия
0a96ae243e
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/main/java/com/caimei365/commodity/controller/ProductPageApi.java

+ 2 - 1
src/main/java/com/caimei365/commodity/controller/ProductPageApi.java

@@ -85,7 +85,8 @@ public class ProductPageApi {
     /**
      * 商品品牌列表
      */
-    @GetMapping("brandList")
+    @ApiOperation("商品品牌列表(旧:/product/brandList)")
+    @GetMapping("brands")
     public ResponseJson<List<BrandVo>> getBrandList() {
         return pageService.getBrandList();
     }