|
@@ -1,19 +1,23 @@
|
|
|
package com.taais.biz.controller;
|
|
|
|
|
|
import com.taais.biz.constant.BizConstant;
|
|
|
+import com.taais.biz.domain.bo.VideoStableStartResultBo;
|
|
|
import com.taais.biz.domain.dto.TaskResultDTO;
|
|
|
import com.taais.biz.service.IAlgorithmBizProcessService;
|
|
|
import com.taais.biz.service.IAlgorithmDataProcessService;
|
|
|
import com.taais.biz.service.IAlgorithmTaskService;
|
|
|
+import com.taais.biz.service.IVideoStableService;
|
|
|
import com.taais.common.core.core.domain.CommonResult;
|
|
|
import com.taais.common.log.annotation.Log;
|
|
|
import com.taais.common.log.enums.BusinessType;
|
|
|
import com.taais.common.web.core.BaseController;
|
|
|
import jakarta.annotation.Resource;
|
|
|
+import jakarta.validation.Valid;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
@@ -26,6 +30,8 @@ import org.springframework.web.bind.annotation.*;
|
|
|
@RequestMapping("/public")
|
|
|
public class PublicController extends BaseController {
|
|
|
private static final Logger log = LoggerFactory.getLogger(PublicController.class);
|
|
|
+ @Resource
|
|
|
+ private IVideoStableService videoStableService;
|
|
|
|
|
|
@Resource
|
|
|
IAlgorithmDataProcessService dataProcessService;
|
|
@@ -80,4 +86,8 @@ public class PublicController extends BaseController {
|
|
|
return CommonResult.success();
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/videoStable/get_result")
|
|
|
+ public CommonResult getResult(@Valid @RequestBody VideoStableStartResultBo videoStableStartResultBo) {
|
|
|
+ return videoStableService.getResult(videoStableStartResultBo);
|
|
|
+ }
|
|
|
}
|