You've already forked FrameTour-BE
2
This commit is contained in:
@ -71,7 +71,7 @@ public class AppGoodsController {
|
||||
@GetMapping("/getTaskStatus/")
|
||||
public ApiResponse<VideoTaskStatusVO> getAllTaskStatus() {
|
||||
JwtInfo worker = JwtTokenUtil.getWorker();
|
||||
return goodsService.getAllTaskStatus(worker.getUserId());
|
||||
return ApiResponse.success(goodsService.getAllTaskStatus(worker.getUserId()));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -84,6 +84,6 @@ public class AppGoodsController {
|
||||
@GetMapping("/task/face/{faceId}/template/{templateId}")
|
||||
public ApiResponse<VideoTaskStatusVO> getTemplateTaskStatus(@PathVariable("faceId") Long faceId, @PathVariable("templateId") Long templateId) {
|
||||
JwtInfo worker = JwtTokenUtil.getWorker();
|
||||
return goodsService.getTaskStatusByTemplateId(worker.getUserId(), faceId, templateId);
|
||||
return ApiResponse.success(goodsService.getTaskStatusByTemplateId(worker.getUserId(), faceId, templateId));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user