调整 mysql 的驱动,换回 5.x 版本。因为 skywalking 暂时不支持 8.x 的驱动的追踪
This commit is contained in:
parent
3ffdc44669
commit
1b8701b0cb
6
pom.xml
6
pom.xml
@ -30,6 +30,12 @@
|
|||||||
<artifactId>dubbo</artifactId>
|
<artifactId>dubbo</artifactId>
|
||||||
<version>2.6.5</version>
|
<version>2.6.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>mysql</groupId>
|
||||||
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
<version>5.1.47</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
|
@ -16,14 +16,14 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@RestController("productCategoryController_users")
|
@RestController("productCategoryController_users")
|
||||||
@RequestMapping("users/product/category")
|
@RequestMapping("users/category")
|
||||||
@Api("商品分类")
|
@Api("商品分类")
|
||||||
public class UsersProductCategoryController {
|
public class UsersProductCategoryController {
|
||||||
|
|
||||||
@Reference(validation = "true")
|
@Reference(validation = "true")
|
||||||
private ProductCategoryService productCategoryService;
|
private ProductCategoryService productCategoryService;
|
||||||
|
|
||||||
@GetMapping
|
@GetMapping("/list")
|
||||||
@ApiOperation("获得指定编号下的子分类的数组")
|
@ApiOperation("获得指定编号下的子分类的数组")
|
||||||
@ApiImplicitParam(name = "pid", value = "指定分类编号", required = true, example = "0")
|
@ApiImplicitParam(name = "pid", value = "指定分类编号", required = true, example = "0")
|
||||||
public List<UsersProductCategoryVO> list(@RequestParam("pid") Integer pid) {
|
public List<UsersProductCategoryVO> list(@RequestParam("pid") Integer pid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user