1. 添加CorsFilter以支持localhost:8000的跨域请求

2. 添加DynamicTaskInfo实体类以用于处理BW系统的body
3. 新添加动态规则生成方法
This commit is contained in:
EnderByEndera
2024-01-17 19:07:04 +08:00
parent 7112e85a26
commit 0ab46a51f1
9 changed files with 159 additions and 12 deletions

View File

@@ -180,7 +180,7 @@ public interface TaskControllerApi {
}
)
ResponseResult changeTaskStatus(@PathVariable @NotNull @Min(0) @Max(6) Integer stateNum,
@PathVariable @NotNull Long taskId) throws DorisStartException;
@PathVariable @NotNull @Min(1) Long taskId) throws DorisStartException;
@GetMapping("/{taskId}/commands")
@Operation(