addons.php 1.5 KB
<?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' => '',
];