addons.php
992 字节
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
<?php
return [
'autoload' => false,
'hooks' => [
'app_init' => [
'epay',
'qrcode',
],
'config_init' => [
'nkeditor',
'third',
],
'user_delete_successed' => [
'third',
],
'user_logout_successed' => [
'third',
],
'module_init' => [
'third',
],
'action_begin' => [
'third',
],
'view_filter' => [
'third',
],
],
'route' => [
'/qrcode$' => 'qrcode/index/index',
'/qrcode/build$' => 'qrcode/index/build',
'/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' => '',
];