| | |
| | | package com.dg.core.controller; |
| | | |
| | | import com.dg.core.ResultData; |
| | | import com.dg.core.annotation.Authorization; |
| | | import com.dg.core.db.gen.entity.Agreement; |
| | | import com.dg.core.db.gen.entity.OrganizationChartEntity; |
| | | import com.dg.core.db.gen.entity.Slideshow; |
| | |
| | | */ |
| | | @ApiOperation(value = "修改轮播图数据",response = Slideshow.class) |
| | | @PostMapping("/update") |
| | | @Authorization |
| | | public ResultData update(@RequestBody Slideshow slideshow){ |
| | | return iSlideshowService.update(slideshow); |
| | | } |
| | |
| | | */ |
| | | @ApiOperation(value = "删除轮播图数据",response = Slideshow.class) |
| | | @GetMapping("/delete") |
| | | @Authorization |
| | | public ResultData delete(@RequestParam("id") Integer id){ |
| | | return iSlideshowService.delete(id); |
| | | } |