审查视图

application/extra/addons.php 664 字节
王智 authored
1 2 3 4
<?php

return [
    'autoload' => false,
王智 authored
5
    'hooks' => [
王智 authored
6 7
        'app_init' => [
            'epay',
王智 authored
8 9 10 11 12 13 14
            'qiniu',
        ],
        'upload_config_init' => [
            'qiniu',
        ],
        'upload_delete' => [
            'qiniu',
王智 authored
15
        ],
王智 authored
16 17 18 19 20 21 22 23 24 25 26
        'config_init' => [
            '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',
    ],
王智 authored
27 28
    'priority' => [],
];