You've already forked FrameTour-BE
修改
This commit is contained in:
@ -41,20 +41,5 @@ public class VideoController {
|
||||
public ApiResponse<VideoRespVO> getById(@PathVariable Long id) {
|
||||
return videoService.getById(id);
|
||||
}
|
||||
@ApiOperation("添加成片")
|
||||
@PostMapping("/add")
|
||||
public ApiResponse<Boolean> add(@RequestBody VideoEntity video) {
|
||||
return videoService.add(video);
|
||||
}
|
||||
@ApiOperation("删除成片")
|
||||
@DeleteMapping("/delete/{id}")
|
||||
public ApiResponse<Boolean> deleteById(@PathVariable Long id) {
|
||||
return videoService.deleteById(id);
|
||||
}
|
||||
@ApiOperation("修改成片")
|
||||
@PostMapping("/update")
|
||||
public ApiResponse<Boolean> update(@RequestBody VideoEntity video) {
|
||||
return videoService.update(video);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user