This commit is contained in:
2025-01-23 09:31:56 +08:00
parent 38c4b553bc
commit 1aa1ae5e2b
18 changed files with 171 additions and 76 deletions

View File

@ -39,6 +39,10 @@ public class SourceController {
JwtInfo worker = JwtTokenUtil.getWorker();
return sourceService.getById(id, worker.getUserId());
}
@PostMapping("/{id}/cutVideo")
public ApiResponse cutVideo(@PathVariable("id") Long id) {
return sourceService.cutVideo(id);
}
@ApiOperation("添加视频源")
@PostMapping("/add")
public ApiResponse add(@RequestBody SourceEntity source) {