config.php
1.4 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
<?php
return [
[
'name' => 'status',
'title' => '开关',
'type' => 'radio',
'content' => [
1 => '开启',
0 => '关闭',
],
'value' => '1',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
],
[
'name' => 'type',
'title' => '返回类型',
'type' => 'select',
'content' => [
'json' => 'json',
'html' => 'html',
],
'value' => 'json',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
],
[
'name' => 'msg',
'title' => '错误提示',
'type' => 'string',
'content' => [],
'value' => '404 not found',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
],
59 => [
'name' => '__tips__',
'title' => '温馨提示',
'type' => 'other',
'content' => [],
'value' => '1.使用此功能必须先开启开关<br>2.后台"常规管理=>系统配置"里面设置禁止IP,<a href="general/config" class="btn-addtabs" >点击设置</a><br>3.支持通配符,例如:192.168.*.*',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
],
];