-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
146 lines (146 loc) · 3.45 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "block",
"displayName": "IP定位拦截插件",
"description": "SSCMS IP定位拦截插件能够根据IP地址阻止不需要的访问者访问网站",
"version": "1.2.0",
"license": "AGPL-3.0",
"publisher": "sscms",
"engines": {
"sscms": "^7.2.0"
},
"categories": [
"Other"
],
"keywords": [
"拦截",
"IP定位",
"阻止访问"
],
"repository": {
"type": "git",
"url": "https://github.com/siteserver/sscms.block"
},
"icon": "/assets/block/logo.svg",
"output": "",
"main": "SSCMS.Block.dll",
"applyToSites": true,
"applyToChannels": false,
"extensions": {
"permissions": {
"block_settings": {
"text": "拦截设置",
"type": ["web", "wx"]
},
"block_analysis": {
"text": "拦截统计",
"type": ["web", "wx"]
},
"block_query": {
"text": "IP地址查询",
"type": ["web", "wx"]
}
},
"menus": {
"block_all": {
"text": "IP定位拦截",
"iconClass": "fa fa-exclamation-triangle",
"type": ["web", "wx"],
"permissions": [
"block_settings",
"block_analysis",
"block_query"
],
"menus": {
"block_settings": {
"text": "拦截设置",
"link": "/ss-admin/block/settings/",
"permissions": ["block_settings"],
"order": 1
},
"block_analysis": {
"text": "拦截统计",
"link": "/ss-admin/block/analysis/",
"permissions": ["block_analysis"],
"order": 2
},
"block_query": {
"text": "IP地址查询",
"link": "/ss-admin/block/query/",
"permissions": ["block_query"],
"order": 3
}
}
}
},
"tables": {
"sscms_block_rule": {
"columns": [
{
"attributeName": "SiteId",
"dataType": "Integer"
},
{
"attributeName": "RuleName",
"dataType": "VarChar"
},
{
"attributeName": "AreaType",
"dataType": "VarChar"
},
{
"attributeName": "BlockAreas",
"dataType": "VarChar"
},
{
"attributeName": "AllowList",
"dataType": "VarChar"
},
{
"attributeName": "BlockList",
"dataType": "VarChar"
},
{
"attributeName": "IsAllChannels",
"dataType": "Boolean"
},
{
"attributeName": "BlockChannels",
"dataType": "VarChar"
},
{
"attributeName": "BlockMethod",
"dataType": "VarChar"
},
{
"attributeName": "RedirectUrl",
"dataType": "VarChar"
},
{
"attributeName": "Warning",
"dataType": "VarChar"
},
{
"attributeName": "Password",
"dataType": "VarChar"
}
]
},
"sscms_block_analysis": {
"columns": [
{
"attributeName": "SiteId",
"dataType": "Integer"
},
{
"attributeName": "BlockDate",
"dataType": "DateTime"
},
{
"attributeName": "BlockCount",
"dataType": "Integer"
}
]
}
}
}
}