日志查询界面增加操作列,修复责增加删除规则不生效的问题,修复自定义规则优先级问题
This commit is contained in:
@@ -1138,12 +1138,12 @@
|
||||
},
|
||||
"/shield/localrules": {
|
||||
"get": {
|
||||
"summary": "获取本地规则",
|
||||
"description": "获取Shield的本地规则列表。",
|
||||
"summary": "获取自定义规则",
|
||||
"description": "获取Shield的自定义规则列表。"
|
||||
"tags": ["shield"],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "成功获取本地规则",
|
||||
"description": "成功获取自定义规则",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
@@ -1166,8 +1166,8 @@
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"summary": "添加本地规则",
|
||||
"description": "添加新的本地规则。",
|
||||
"summary": "添加自定义规则",
|
||||
"description": "添加新的自定义规则。",
|
||||
"tags": ["shield"],
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
@@ -1205,8 +1205,8 @@
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"summary": "删除本地规则",
|
||||
"description": "删除指定ID的本地规则。",
|
||||
"summary": "删除自定义规则",
|
||||
"description": "删除指定ID的自定义规则。",
|
||||
"tags": ["shield"],
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1500,7 +1500,7 @@
|
||||
"blocked": true,
|
||||
"blockRule": "example.com",
|
||||
"blockRuleType": "exact_domain",
|
||||
"blocksource": "本地规则",
|
||||
"blocksource": "自定义规则",
|
||||
"excluded": false,
|
||||
"excludeRule": "",
|
||||
"excludeRuleType": "",
|
||||
|
||||
Reference in New Issue
Block a user