You've already forked FrameTour-BE
删除swagger
This commit is contained in:
@@ -6,8 +6,6 @@ import com.ycwl.basic.model.pc.video.req.VideoReqQuery;
|
||||
import com.ycwl.basic.model.pc.video.resp.VideoRespVO;
|
||||
import com.ycwl.basic.service.pc.VideoService;
|
||||
import com.ycwl.basic.utils.ApiResponse;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@@ -21,23 +19,23 @@ import java.util.List;
|
||||
@RestController
|
||||
@RequestMapping("/api/video/v1")
|
||||
@Deprecated
|
||||
@Api(tags = "视频成片管理")
|
||||
// 视频成片管理
|
||||
public class VideoController {
|
||||
|
||||
@Autowired
|
||||
private VideoService videoService;
|
||||
|
||||
@ApiOperation("分页查询成片")
|
||||
// 分页查询成片
|
||||
@PostMapping("/page")
|
||||
public ApiResponse<PageInfo<VideoRespVO>> pageQuery(@RequestBody VideoReqQuery videoReqQuery) {
|
||||
return videoService.pageQuery(videoReqQuery);
|
||||
}
|
||||
@ApiOperation("查询成片列表")
|
||||
// 查询成片列表
|
||||
@PostMapping("/list")
|
||||
public ApiResponse<List<VideoRespVO>> list(@RequestBody VideoReqQuery videoReqQuery) {
|
||||
return videoService.list(videoReqQuery);
|
||||
}
|
||||
@ApiOperation("查询成片详情")
|
||||
// 查询成片详情
|
||||
@GetMapping("/getDetail/{id}")
|
||||
public ApiResponse<VideoRespVO> getById(@PathVariable Long id) {
|
||||
return videoService.getById(id);
|
||||
|
||||
Reference in New Issue
Block a user