增加电话语料补偿
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.volvo.ai.analytic.center.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum AiAnalysisErrorHandlingStatusEnum {
|
||||
|
||||
status_0(0, "未处理"),
|
||||
status_1(1, "已处理")
|
||||
;
|
||||
|
||||
private int code;
|
||||
private String message;
|
||||
|
||||
AiAnalysisErrorHandlingStatusEnum(int code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
@@ -3,10 +3,7 @@ package com.volvo.ai.analytic.center.feign;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestHeader;
|
||||
import org.springframework.web.bind.annotation.RequestPart;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.util.Map;
|
||||
@@ -23,4 +20,8 @@ public interface DiFyFeign {
|
||||
|
||||
@PostMapping(value = "/v1/files/upload" , consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
JSONObject fileUpload(@RequestHeader(value = "Authorization") String authorization, @RequestPart("file") MultipartFile file);
|
||||
|
||||
@PostMapping(value = "/v1/workflows/run/:{workflowRunId}" , consumes = MediaType.APPLICATION_JSON_VALUE
|
||||
, produces = MediaType.APPLICATION_JSON_VALUE)
|
||||
JSONObject queryWorkFlowById(@RequestHeader(value = "Authorization") String authorization, @PathVariable("workflowRunId") String workflowRunId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user