-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
114 lines (114 loc) · 2.71 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
{
"name": "photos",
"displayName": "内容相册插件",
"description": "SSCMS 内容相册插件能够实现内容相册功能",
"version": "1.3.0",
"license": "AGPL-3.0",
"publisher": "sscms",
"engines": {
"sscms": "^7.3.0"
},
"categories": [
"Other"
],
"keywords": [
"相册",
"内容相册"
],
"repository": {
"type": "git",
"url": "https://github.com/siteserver/sscms.photos"
},
"icon": "/assets/photos/logo.svg",
"output": "",
"main": "SSCMS.Photos.dll",
"applyToSites": true,
"applyToChannels": true,
"extensions": {
"permissions": {
"photos_settings": {
"text": "图片上传设置",
"type": ["web", "wx"]
},
"photos_channels_config": {
"text": "内容图片设置",
"type": ["web", "wx"]
},
"photos_content": {
"text": "内容相册",
"type": ["content"]
}
},
"menus": {
"photos_all": {
"text": "内容相册",
"iconClass": "ion-images",
"type": ["web", "wx"],
"permissions": [
"photos_settings",
"photos_channels_config"
],
"menus": {
"photos_settings": {
"text": "图片上传设置",
"link": "/ss-admin/photos/settings/",
"permissions": ["photos_settings"],
"order": 1
},
"photos_channels_config": {
"text": "内容图片设置",
"link": "/ss-admin/plugins/config/?pluginId=sscms.photos",
"permissions": ["photos_channels_config"],
"order": 2
}
}
},
"photos_content": {
"text": "内容相册",
"type": ["content"],
"link": "/ss-admin/photos/photos/",
"permissions": ["photos_content"],
"order": 1
}
},
"tables": {
"sscms_photos": {
"columns": [
{
"attributeName": "SiteId",
"dataType": "Integer"
},
{
"attributeName": "ChannelId",
"dataType": "Integer"
},
{
"attributeName": "ContentId",
"dataType": "Integer"
},
{
"attributeName": "SmallUrl",
"dataType": "VarChar"
},
{
"attributeName": "MiddleUrl",
"dataType": "VarChar"
},
{
"attributeName": "LargeUrl",
"dataType": "VarChar"
},
{
"attributeName": "Taxis",
"dataType": "Integer"
},
{
"attributeName": "Description",
"dataType": "VarChar",
"dataLength": 2000
}
]
}
}
}
}