1. 添加CorsFilter以支持localhost:8000的跨域请求
2. 添加DynamicTaskInfo实体类以用于处理BW系统的body 3. 新添加动态规则生成方法
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.realtime.protection.server.task;
|
||||
|
||||
import com.realtime.protection.configuration.entity.task.DynamicTaskInfo;
|
||||
import com.realtime.protection.configuration.entity.task.Task;
|
||||
import com.realtime.protection.configuration.entity.task.TaskCommandInfo;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
@@ -40,6 +41,8 @@ public interface TaskMapper {
|
||||
|
||||
List<TaskCommandInfo> getStaticCommandInfos(@Param("task_id") Long taskId);
|
||||
|
||||
List<DynamicTaskInfo> getDynamicTaskInfos(@Param("task_id") Long taskId);
|
||||
|
||||
Integer queryTaskAuditStatus(@Param("task_id") Long taskId);
|
||||
|
||||
Integer queryTaskStatus(@Param("task_id") Long taskId);
|
||||
|
||||
Reference in New Issue
Block a user