addons.php
1.1 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
<?php
return [
'autoload' => false,
'hooks' => [
'app_init' => [
'barcode',
'captcha',
'qiniu',
],
'module_init' => [
'qiniu',
'third',
],
'upload_config_init' => [
'qiniu',
],
'upload_delete' => [
'qiniu',
],
'user_delete_successed' => [
'third',
],
'user_logout_successed' => [
'third',
],
'action_begin' => [
'third',
],
'config_init' => [
'third',
'ueditor',
],
'view_filter' => [
'third',
],
],
'route' => [
'/qrcode$' => 'barcode/study/add',
'/third$' => 'third/index/index',
'/third/connect/[:platform]' => 'third/index/connect',
'/third/callback/[:platform]' => 'third/index/callback',
'/third/bind/[:platform]' => 'third/index/bind',
'/third/unbind/[:platform]' => 'third/index/unbind',
],
'priority' => [],
'domain' => '',
];