1、策略模板增查新增isProtectObject属性
This commit is contained in:
@@ -31,4 +31,7 @@ public class ProtectLevel {
|
||||
|
||||
@Schema(description = "该防护等级是处置防护对象的全流量or单向流量")
|
||||
private Boolean isFullFlow = false;
|
||||
|
||||
@Schema(description = "该防护等级防护对象ip地址是否作为源ip地址")
|
||||
private Boolean isProtectObjectIPSrc = false;
|
||||
}
|
||||
|
||||
@@ -174,6 +174,9 @@ public class TemplateController implements TemplateControllerApi {
|
||||
.setData("success", templateService.updateAuditStatusBatch(idsWithAuditStatusMap));
|
||||
}
|
||||
|
||||
/*
|
||||
修改审批信息
|
||||
*/
|
||||
@Override
|
||||
@PostMapping("/auditInfo/{ids}")
|
||||
public ResponseResult updateAuditInfo(@PathVariable List<Integer> ids,
|
||||
|
||||
@@ -48,7 +48,10 @@ public interface TemplateControllerApi {
|
||||
)
|
||||
)
|
||||
},
|
||||
requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(description = "防御策略模板信息")
|
||||
requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(
|
||||
|
||||
description = "防御策略模板信息")
|
||||
|
||||
)
|
||||
ResponseResult newTemplate(@RequestBody @Valid Template template);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user