config.php
5.3 KB
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<?php
return array (
0 =>
array (
'name' => 'sitename',
'title' => '站点名称',
'type' => 'string',
'content' =>
array (
),
'value' => '我的CMS网站',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
1 =>
array (
'name' => 'title',
'title' => '首页标题',
'type' => 'string',
'content' =>
array (
),
'value' => '成都官网',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
2 =>
array (
'name' => 'keywords',
'title' => '首页关键字',
'type' => 'string',
'content' =>
array (
),
'value' => '成都',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
3 =>
array (
'name' => 'description',
'title' => '首页描述',
'type' => 'string',
'content' =>
array (
),
'value' => '成都',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
4 =>
array (
'name' => 'theme',
'title' => '皮肤',
'type' => 'string',
'content' =>
array (
),
'value' => 'default',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
5 =>
array (
'name' => 'qrcode',
'title' => '公众号二维码',
'type' => 'image',
'content' =>
array (
),
'value' => '/assets/addons/cms/img/qrcode.png',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
6 =>
array (
'name' => 'default_archives_img',
'title' => '文档默认图片',
'type' => 'image',
'content' =>
array (
),
'value' => '/assets/addons/cms/img/noimage.jpg',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
7 =>
array (
'name' => 'default_channel_img',
'title' => '栏目默认图片',
'type' => 'image',
'content' =>
array (
),
'value' => '/assets/addons/cms/img/noimage.jpg',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
8 =>
array (
'name' => 'default_block_img',
'title' => '区块默认图片',
'type' => 'image',
'content' =>
array (
),
'value' => '/assets/addons/cms/img/noimage.jpg',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
9 =>
array (
'name' => 'default_page_img',
'title' => '单页默认图片',
'type' => 'image',
'content' =>
array (
),
'value' => '/assets/addons/cms/img/noimage.jpg',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
10 =>
array (
'name' => 'domain',
'title' => '绑定二级域名前缀',
'type' => 'string',
'content' =>
array (
),
'value' => '',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
11 =>
array (
'name' => 'rewrite',
'title' => '伪静态',
'type' => 'array',
'content' =>
array (
),
'value' =>
array (
'index/index' => '/$',
'archives/index' => '/a/[:diyname]',
'tags/index' => '/t/[:name]',
'page/index' => '/p/[:diyname]',
'search/index' => '/s',
'channel/index' => '/c/[:diyname]',
'diyform/index' => '/d/[:diyname]',
),
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
12 =>
array (
'name' => 'wxappid',
'title' => '小程序AppID',
'type' => 'string',
'content' =>
array (
),
'value' => '小程序appid',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
13 =>
array (
'name' => 'wxappsecret',
'title' => '小程序AppSecret',
'type' => 'string',
'content' =>
array (
),
'value' => '小程序secret',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
14 =>
array (
'name' => 'apikey',
'title' => 'ApiKey',
'type' => 'string',
'content' =>
array (
),
'value' => '',
'rule' => '',
'msg' => '',
'tip' => '用于调用API接口时写入数据权限控制<br>可以为空',
'ok' => '',
'extend' => '',
),
15 =>
array (
'name' => 'archiveseditmode',
'title' => '文档编辑模式',
'type' => 'radio',
'content' =>
array (
'addtabs' => '新选项卡',
'dialog' => '弹窗',
),
'value' => 'dialog',
'rule' => '',
'msg' => '',
'tip' => '在添加或编辑文档时的操作方式',
'ok' => '',
'extend' => '',
),
16 =>
array (
'name' => '__tips__',
'title' => '温馨提示',
'type' => 'string',
'content' =>
array (
),
'value' => '1.如果需要将CMS绑定到首页,请移除伪静态中的<b>cms/</b><br>2.默认CMS不包含富文本编辑器插件,请在<a href="https://www.fastadmin.net/store.html?category=16" target="_blank">插件市场</a>按需要安装<br>3.如果需要启用付费阅读,请务必安装<a href="https://www.fastadmin.net/store/epay.html" target="_blank">企业支付</a>插件',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
);