<?php
// 后台中间件配置
return [
    //初始化中间件
    \app\adminapi\middleware\AdminInit::class,

    // 跨域中间件
    \app\adminapi\middleware\AllowCrossDomain::class,

    // admin用户token验证
    \app\adminapi\middleware\AdminCheckToken::class,

    //admin用户权限验证
    \app\adminapi\middleware\AdminCheckRole::class,
];
