|
|
@ -102,6 +102,7 @@ public class SysColumnController { |
|
|
|
boolean updateState = service.updateById(sysColumn); |
|
|
|
boolean updateState = service.updateById(sysColumn); |
|
|
|
return updateState ? R.success() : R.fail("编辑失败"); |
|
|
|
return updateState ? R.success() : R.fail("编辑失败"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@NoRepeatSubmit |
|
|
|
@NoRepeatSubmit |
|
|
|
@PostMapping("/delete") |
|
|
|
@PostMapping("/delete") |
|
|
|
@ApiOperation(value = "删除", response = SysContent.class) |
|
|
|
@ApiOperation(value = "删除", response = SysContent.class) |
|
|
@ -122,6 +123,7 @@ public class SysColumnController { |
|
|
|
|
|
|
|
|
|
|
|
return delState ? R.success() : R.fail("删除失败"); |
|
|
|
return delState ? R.success() : R.fail("删除失败"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@NoRepeatSubmit |
|
|
|
@NoRepeatSubmit |
|
|
|
@PostMapping("/batchDeletion") |
|
|
|
@PostMapping("/batchDeletion") |
|
|
|
@ApiOperation(value = "批量删除栏目", response = SysColumn.class) |
|
|
|
@ApiOperation(value = "批量删除栏目", response = SysColumn.class) |
|
|
@ -244,6 +246,8 @@ public class SysColumnController { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 查询栏目下的文章(若选中栏目与子级全部栏目类型一致返回全部文章,反之查询选中栏目下的文章) |
|
|
|
* 查询栏目下的文章(若选中栏目与子级全部栏目类型一致返回全部文章,反之查询选中栏目下的文章) |
|
|
|
|
|
|
|
* 2023.02.22依需求更改为以发布时间排序(非创建时间) |
|
|
|
|
|
|
|
* |
|
|
|
* @param columnId |
|
|
|
* @param columnId |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|