style: format

This commit is contained in:
Fu Diwei
2022-05-06 20:29:27 +08:00
parent d364c1a354
commit 7e6cfa5ca3
2352 changed files with 3542 additions and 4198 deletions

View File

@@ -1,22 +1,10 @@
{
"rule_name": "rulename",
"word_list": [
"敏感词1",
"敏感词2"
],
"semantics_list": [
1,
2,
3
],
"word_list": ["敏感词1", "敏感词2"],
"semantics_list": [1, 2, 3],
"intercept_type": 1,
"applicable_range": {
"user_list": [
"zhangshan"
],
"department_list": [
2,
3
]
"user_list": ["zhangshan"],
"department_list": [2, 3]
}
}
}

View File

@@ -4,26 +4,14 @@
"rule": {
"rule_id": 1,
"rule_name": "rulename",
"word_list": [
"敏感词1",
"敏感词2"
],
"word_list": ["敏感词1", "敏感词2"],
"extra_rule": {
"semantics_list": [
1,
2,
3
]
"semantics_list": [1, 2, 3]
},
"intercept_type": 1,
"applicable_range": {
"user_list": [
"zhangshan"
],
"department_list": [
2,
3
]
"user_list": ["zhangshan"],
"department_list": [2, 3]
}
}
}
}

View File

@@ -1,34 +1,17 @@
{
"rule_id": "xxxx",
"rule_name": "rulename",
"word_list": [
"敏感词1",
"敏感词2"
],
"word_list": ["敏感词1", "敏感词2"],
"extra_rule": {
"semantics_list": [
1,
2,
3
]
"semantics_list": [1, 2, 3]
},
"intercept_type": 1,
"add_applicable_range": {
"user_list": [
"zhangshan"
],
"department_list": [
2,
3
]
"user_list": ["zhangshan"],
"department_list": [2, 3]
},
"remove_applicable_range": {
"user_list": [
"zhangshan"
],
"department_list": [
2,
3
]
"user_list": ["zhangshan"],
"department_list": [2, 3]
}
}
}