[ // 菜单配置 'menu' => [ 'location' => 'default', // default:系统顶部菜单;addons:应用中心菜单 'icon' => 'fa fa-puzzle-piece', ], // 子模块配置 'modules' => [ ], ], // ----------------------- 快捷入口 ----------------------- // 'cover' => [ ], // ----------------------- 菜单配置 ----------------------- // 'menu' => [ [ 'title' => '支付设置', 'route' => 'default/index', 'icon' => '', 'params' => [ ], 'child' => [ ], ], [ 'title' => '订单列表', 'route' => 'order/index', 'icon' => '', 'params' => [ ], 'child' => [ ], ], ], // ----------------------- 权限配置 ----------------------- // 'authItem' => [ [ 'title' => '所有权限', 'name' => '', ], ], // ----------------------- APP链接 ----------------------- // 'links' => [ //[ //'title' => '', //'route' => '', //'icon' => '', //'params' => [], //], ], // ----------------------- 事件处理 ----------------------- // 'events' => [ //[ //'event_name' => '', //'listeners' => [] //], ], 'invoker' => [ [ 'invoker_id' => \common\enums\GlobalFuncEnum::PAYMENT_LIST, 'class' => 'addons\Sicpay\common\global_func\PaymentList', 'method' => 'getPaymentList' ], [ 'invoker_id' => \common\enums\GlobalFuncEnum::PAYMENT_TYPE, 'class' => 'addons\Sicpay\common\global_func\PaymentList', 'method' => 'getPaymentType' ], [ 'invoker_id' => \common\enums\GlobalFuncEnum::INVOKE_PAYMENT, 'class' => 'addons\Sicpay\common\global_func\Payment', 'method' => 'pay' ], ], ];