addons.php
1.5 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
<?php
return [
'autoload' => false,
'hooks' => [
'sms_send' => [
'alisms',
],
'sms_notice' => [
'alisms',
],
'sms_check' => [
'alisms',
],
'msg_notice' => [
'dinghorn',
],
'app_init' => [
'inspection',
'qiniu',
'qrcode',
'qyexternal',
],
'upload_config_init' => [
'qiniu',
],
'upload_delete' => [
'qiniu',
],
'config_init' => [
'third',
],
'vbot_send_msg' => [
'vbot',
],
'upgrade' => [
'weixin',
'workorder',
],
'user_sidenav_after' => [
'workorder',
],
],
'route' => [
'/example$' => 'example/index/index',
'/example/d/[:name]' => 'example/demo/index',
'/example/d1/[:name]' => 'example/demo/demo1',
'/example/d2/[:name]' => 'example/demo/demo2',
'/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' => '',
];