标签组Controller小问题修改
This commit is contained in:
@@ -30,15 +30,12 @@ public class LabelGroupController {
|
||||
@Autowired
|
||||
private LabelGroupService labelGroupService;
|
||||
|
||||
public LabelGroupController() {
|
||||
}
|
||||
|
||||
@ApiOperation("标签组分页查询")
|
||||
@PostMapping({"/list"})
|
||||
public ResponseResult<PageInfo<LabelGroupListVo>> getLabelGroupList(@RequestBody LabelGroupListDTO dto) {
|
||||
PageHelper.startPage(dto.getPageNum(), dto.getPageSize());
|
||||
List<LabelGroupListVo> result = this.labelGroupService.getLabelGroupList(dto);
|
||||
return ResponseResult.success(new PageInfo(result));
|
||||
return ResponseResult.success(new PageInfo<>(result));
|
||||
}
|
||||
|
||||
@ApiOperation("新增标签组")
|
||||
|
||||
Reference in New Issue
Block a user