You've already forked FrameTour-BE
Deprecated
This commit is contained in:
@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Deprecated
|
||||
@RestController
|
||||
@RequestMapping("/api/face/detect_log/v1")
|
||||
public class FaceDetectLogController {
|
||||
|
@@ -17,6 +17,7 @@ import java.util.List;
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/2 16:33
|
||||
*/
|
||||
@Deprecated
|
||||
@RestController
|
||||
@RequestMapping("/api/faceSample/v1")
|
||||
@Api(tags = "人脸样本管理")
|
||||
|
@@ -1,5 +1,6 @@
|
||||
package com.ycwl.basic.controller.pc;
|
||||
|
||||
import com.ycwl.basic.annotation.IgnoreToken;
|
||||
import com.ycwl.basic.model.jwt.JwtInfo;
|
||||
import com.ycwl.basic.model.pc.source.entity.SourceEntity;
|
||||
import com.ycwl.basic.model.pc.source.req.SourceReqQuery;
|
||||
@@ -23,41 +24,29 @@ public class SourceController {
|
||||
@Autowired
|
||||
private SourceService sourceService;
|
||||
|
||||
@Deprecated
|
||||
@ApiOperation("分页查询视频源")
|
||||
@PostMapping("/page")
|
||||
public ApiResponse pageQuery(@RequestBody SourceReqQuery sourceReqQuery) {
|
||||
return sourceService.pageQuery(sourceReqQuery);
|
||||
}
|
||||
@Deprecated
|
||||
@ApiOperation("查询视频源列表")
|
||||
@PostMapping("/list")
|
||||
public ApiResponse list(@RequestBody SourceReqQuery sourceReqQuery) {
|
||||
return sourceService.list(sourceReqQuery);
|
||||
}
|
||||
@ApiOperation("查询视频源详情")
|
||||
@GetMapping("getDetail/{id}")
|
||||
public ApiResponse getById(@PathVariable Long id) {
|
||||
JwtInfo worker = JwtTokenUtil.getWorker();
|
||||
return sourceService.getById(id, worker.getUserId());
|
||||
}
|
||||
@PostMapping("/{id}/cutVideo")
|
||||
@IgnoreToken
|
||||
public ApiResponse cutVideo(@PathVariable("id") Long id) {
|
||||
return sourceService.cutVideo(id);
|
||||
}
|
||||
@ApiOperation("添加视频源")
|
||||
@PostMapping("/add")
|
||||
public ApiResponse add(@RequestBody SourceEntity source) {
|
||||
return sourceService.add(source);
|
||||
}
|
||||
@Deprecated
|
||||
@ApiOperation("删除视频源")
|
||||
@DeleteMapping("/delete/{id}")
|
||||
public ApiResponse deleteById(@PathVariable Long id) {
|
||||
return sourceService.deleteById(id);
|
||||
}
|
||||
@ApiOperation("修改视频源")
|
||||
@PostMapping("/update")
|
||||
public ApiResponse update(@RequestBody SourceEntity source) {
|
||||
return sourceService.update(source);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.*;
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/api/task/v1")
|
||||
@Deprecated
|
||||
@Api(tags = "任务列表管理")
|
||||
public class TaskController {
|
||||
|
||||
|
@@ -20,6 +20,7 @@ import java.util.List;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/video/v1")
|
||||
@Deprecated
|
||||
@Api(tags = "视频成片管理")
|
||||
public class VideoController {
|
||||
|
||||
|
Reference in New Issue
Block a user