调整 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>
|
||||
<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) {
|
||||
|
Loading…
Reference in New Issue
Block a user