You've already forked FrameTour-BE
添加“单模版成片任务查询”接口
This commit is contained in:
@ -59,10 +59,24 @@ public class AppGoodsController {
|
||||
* @param scenicId 景区id
|
||||
* @return 1 合成中 2 合成成功
|
||||
*/
|
||||
@ApiOperation("查询用户当前景区的视频合成任务状态 1 合成中 2 合成成功 ")
|
||||
@ApiOperation("查询用户当前景区的整体视频合成任务状态 1 合成中 2 合成成功 ")
|
||||
@GetMapping("/getTaskStatus/{scenicId}")
|
||||
public ApiResponse<Integer> getTaskStatus(@PathVariable("scenicId") Long scenicId) {
|
||||
public ApiResponse<Integer> getAllTaskStatus(@PathVariable("scenicId") Long scenicId) {
|
||||
JwtInfo worker = JwtTokenUtil.getWorker();
|
||||
return goodsService.getTaskStatus(worker.getUserId(),scenicId);
|
||||
return goodsService.getAllTaskStatus(worker.getUserId(),scenicId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询用户当前景区的具体模版视频合成任务状态
|
||||
* @param templateId 模版id
|
||||
* @return 1 合成中 2 合成成功
|
||||
*/
|
||||
@ApiOperation("查询用户当前景区的具体模版视频合成任务状态 1 合成中 2 合成成功 ")
|
||||
@GetMapping("/getTemplateTaskStatus/{templateId}")
|
||||
public ApiResponse<Integer> getTemplateTaskStatus(@PathVariable("templateId") Long templateId) {
|
||||
JwtInfo worker = JwtTokenUtil.getWorker();
|
||||
return goodsService.getTemplateTaskStatus(worker.getUserId(),templateId);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user