|
|
|
|
@ -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) {
|
|
|
|
|
|