支持默认获取人脸

This commit is contained in:
2024-12-16 19:01:52 +08:00
parent dab3f4356f
commit d527a8fdce
11 changed files with 40 additions and 7 deletions

View File

@ -65,6 +65,11 @@ public class AppGoodsController {
JwtInfo worker = JwtTokenUtil.getWorker();
return goodsService.getAllTaskStatus(worker.getUserId(),faceId);
}
@GetMapping("/getTaskStatus/")
public ApiResponse<Integer> getAllTaskStatus() {
JwtInfo worker = JwtTokenUtil.getWorker();
return goodsService.getAllTaskStatus(worker.getUserId());
}
/**
* 查询用户当前景区的具体模版视频合成任务状态

View File

@ -49,6 +49,12 @@ public class AppScenicController {
return appScenicService.deviceCountByScenicId(scenicId);
}
@ApiOperation("景区视频源素材列表")
@GetMapping("/contentList/")
public ApiResponse<List<ContentPageVO>> contentList() {
return appScenicService.contentListUseDefaultFace();
}
@ApiOperation("景区视频源素材列表")
@GetMapping("/contentList/{faceId}")
public ApiResponse<List<ContentPageVO>> contentList(@PathVariable Long faceId) {