addons.php
886 字节
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
<?php
return [
'autoload' => false,
'hooks' => [
'response_send' => [
'loginvideo',
],
'user_delete_successed' => [
'third',
],
'user_logout_successed' => [
'third',
],
'module_init' => [
'third',
],
'action_begin' => [
'third',
],
'config_init' => [
'third',
'ueditor',
],
'view_filter' => [
'third',
],
],
'route' => [
'/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' => '',
];