1. 添加CorsFilter以支持localhost:8000的跨域请求
2. 添加DynamicTaskInfo实体类以用于处理BW系统的body 3. 新添加动态规则生成方法
This commit is contained in:
@@ -122,7 +122,7 @@ public class TaskController implements TaskControllerApi {
|
||||
@Override
|
||||
@GetMapping("/{taskId}/running/{stateNum}")
|
||||
public ResponseResult changeTaskStatus(@PathVariable @NotNull @Min(0) @Max(6) Integer stateNum,
|
||||
@PathVariable @NotNull Long taskId) throws DorisStartException {
|
||||
@PathVariable @NotNull @Min(1) Long taskId) throws DorisStartException {
|
||||
return ResponseResult.ok()
|
||||
.setData("task_id", taskId)
|
||||
// 外部修改状态,需要进行状态检查
|
||||
|
||||
Reference in New Issue
Block a user