提交 1b8701b0 authored 作者: YunaiV's avatar YunaiV

调整 mysql 的驱动,换回 5.x 版本。因为 skywalking 暂时不支持 8.x 的驱动的追踪

上级 3ffdc446
......@@ -30,6 +30,12 @@
<artifactId>dubbo</artifactId>
<version>2.6.5</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.47</version>
</dependency>
</dependencies>
</dependencyManagement>
......
......@@ -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<UsersProductCategoryVO> list(@RequestParam("pid") Integer pid) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论