diff --git a/pom.xml b/pom.xml index 27384ce24..51f519a5e 100644 --- a/pom.xml +++ b/pom.xml @@ -30,6 +30,12 @@ dubbo 2.6.5 + + + mysql + mysql-connector-java + 5.1.47 + diff --git a/product/product-application/src/main/java/cn/iocoder/mall/product/application/controller/users/UsersProductCategoryController.java b/product/product-application/src/main/java/cn/iocoder/mall/product/application/controller/users/UsersProductCategoryController.java index 3d99c007f..5eeec51db 100644 --- a/product/product-application/src/main/java/cn/iocoder/mall/product/application/controller/users/UsersProductCategoryController.java +++ b/product/product-application/src/main/java/cn/iocoder/mall/product/application/controller/users/UsersProductCategoryController.java @@ -16,14 +16,14 @@ import org.springframework.web.bind.annotation.RestController; import java.util.List; @RestController("productCategoryController_users") -@RequestMapping("users/product/category") +@RequestMapping("users/category") @Api("商品分类") public class UsersProductCategoryController { @Reference(validation = "true") private ProductCategoryService productCategoryService; - @GetMapping + @GetMapping("/list") @ApiOperation("获得指定编号下的子分类的数组") @ApiImplicitParam(name = "pid", value = "指定分类编号", required = true, example = "0") public List list(@RequestParam("pid") Integer pid) {