config.php
2.6 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
<?php
return array (
0 =>
array (
'name' => 'qq',
'title' => 'QQ',
'type' => 'array',
'content' =>
array (
'app_id' => '',
'app_secret' => '',
'scope' => 'get_user_info',
),
'value' =>
array (
'app_id' => '100000000',
'app_secret' => '123456',
'scope' => 'get_user_info',
),
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
1 =>
array (
'name' => 'wechat',
'title' => '微信',
'type' => 'array',
'content' =>
array (
'app_id' => '',
'app_secret' => '',
'callback' => '',
'scope' => 'snsapi_base',
),
'value' =>
array (
'app_id' => 'wxb345558fbe7123f4',
'app_secret' => '7f04ffc23a080d581542e2be5c71486e',
'scope' => 'snsapi_userinfo',
),
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
2 =>
array (
'name' => 'weibo',
'title' => '微博',
'type' => 'array',
'content' =>
array (
'app_id' => '',
'app_secret' => '',
'scope' => 'get_user_info',
),
'value' =>
array (
'app_id' => '100000000',
'app_secret' => '123456',
'scope' => 'get_user_info',
),
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
3 =>
array (
'name' => 'bindaccount',
'title' => '账号绑定',
'type' => 'radio',
'content' =>
array (
1 => '开启',
0 => '关闭',
),
'value' => '1',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '是否开启账号绑定',
'extend' => '',
),
4 =>
array (
'name' => 'status',
'title' => '前台第三方登录开关',
'type' => 'checkbox',
'content' =>
array (
'qq' => 'QQ',
'wechat' => '微信',
'weibo' => '微博',
),
'value' => 'qq,wechat,weibo',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '前台第三方登录的开关',
'extend' => '',
),
5 =>
array (
'name' => 'rewrite',
'title' => '伪静态',
'type' => 'array',
'content' =>
array (
),
'value' =>
array (
'index/index' => '/third$',
'index/connect' => '/third/connect/[:platform]',
'index/callback' => '/third/callback/[:platform]',
'index/bind' => '/third/bind/[:platform]',
'index/unbind' => '/third/unbind/[:platform]',
),
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
);