|
@@ -41,7 +41,6 @@ public class CentereventTEventCollectController extends BaseController {
|
|
/**
|
|
/**
|
|
* 查询事件收藏列表
|
|
* 查询事件收藏列表
|
|
*/
|
|
*/
|
|
- @RequiresPermissions("system:collect:list")
|
|
|
|
@GetMapping("/list")
|
|
@GetMapping("/list")
|
|
public TableDataInfo list(CentereventTEventCollect centereventTEventCollect) {
|
|
public TableDataInfo list(CentereventTEventCollect centereventTEventCollect) {
|
|
startPage();
|
|
startPage();
|
|
@@ -52,7 +51,6 @@ public class CentereventTEventCollectController extends BaseController {
|
|
/**
|
|
/**
|
|
* 导出事件收藏列表
|
|
* 导出事件收藏列表
|
|
*/
|
|
*/
|
|
- @RequiresPermissions("system:collect:export")
|
|
|
|
@Log(title = "事件收藏", businessType = BusinessType.EXPORT)
|
|
@Log(title = "事件收藏", businessType = BusinessType.EXPORT)
|
|
@PostMapping("/export")
|
|
@PostMapping("/export")
|
|
public void export(HttpServletResponse response, CentereventTEventCollect centereventTEventCollect) {
|
|
public void export(HttpServletResponse response, CentereventTEventCollect centereventTEventCollect) {
|
|
@@ -64,7 +62,6 @@ public class CentereventTEventCollectController extends BaseController {
|
|
/**
|
|
/**
|
|
* 获取事件收藏详细信息
|
|
* 获取事件收藏详细信息
|
|
*/
|
|
*/
|
|
- @RequiresPermissions("system:collect:query")
|
|
|
|
@GetMapping(value = "/{id}")
|
|
@GetMapping(value = "/{id}")
|
|
public AjaxResult getInfo(@PathVariable("id") String id) {
|
|
public AjaxResult getInfo(@PathVariable("id") String id) {
|
|
return AjaxResult.success(centereventTEventCollectService.selectCentereventTEventCollectById(id));
|
|
return AjaxResult.success(centereventTEventCollectService.selectCentereventTEventCollectById(id));
|
|
@@ -73,7 +70,6 @@ public class CentereventTEventCollectController extends BaseController {
|
|
/**
|
|
/**
|
|
* 新增事件收藏
|
|
* 新增事件收藏
|
|
*/
|
|
*/
|
|
- @RequiresPermissions("system:collect:add")
|
|
|
|
@Log(title = "事件收藏", businessType = BusinessType.INSERT)
|
|
@Log(title = "事件收藏", businessType = BusinessType.INSERT)
|
|
@PostMapping
|
|
@PostMapping
|
|
public AjaxResult add(@RequestBody CentereventTEventCollect centereventTEventCollect) {
|
|
public AjaxResult add(@RequestBody CentereventTEventCollect centereventTEventCollect) {
|
|
@@ -98,7 +94,6 @@ public class CentereventTEventCollectController extends BaseController {
|
|
/**
|
|
/**
|
|
* 修改事件收藏
|
|
* 修改事件收藏
|
|
*/
|
|
*/
|
|
- @RequiresPermissions("system:collect:edit")
|
|
|
|
@Log(title = "事件收藏", businessType = BusinessType.UPDATE)
|
|
@Log(title = "事件收藏", businessType = BusinessType.UPDATE)
|
|
@PutMapping
|
|
@PutMapping
|
|
public AjaxResult edit(@RequestBody CentereventTEventCollect centereventTEventCollect) {
|
|
public AjaxResult edit(@RequestBody CentereventTEventCollect centereventTEventCollect) {
|
|
@@ -108,7 +103,6 @@ public class CentereventTEventCollectController extends BaseController {
|
|
/**
|
|
/**
|
|
* 删除事件收藏
|
|
* 删除事件收藏
|
|
*/
|
|
*/
|
|
- @RequiresPermissions("system:collect:remove")
|
|
|
|
@Log(title = "事件收藏", businessType = BusinessType.DELETE)
|
|
@Log(title = "事件收藏", businessType = BusinessType.DELETE)
|
|
@DeleteMapping("/{ids}")
|
|
@DeleteMapping("/{ids}")
|
|
public AjaxResult remove(@PathVariable String[] ids) {
|
|
public AjaxResult remove(@PathVariable String[] ids) {
|