<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\ResConverterTecmz\Core; use Illuminate\Events\Dispatcher; use Illuminate\Support\ServiceProvider; use ModStart\Admin\Config\AdminMenu; use Module\Res\Converter\ResConverterProvider; class ModuleServiceProvider extends ServiceProvider { public function boot(Dispatcher $Cl2i3) { AdminMenu::register(function () { return array(array('title' => '资源管理', 'icon' => 'credit', 'sort' => 150, 'children' => array(array('title' => '魔众资源云端转换', 'sort' => 99999, 'url' => '\\Module\\ResConverterTecmz\\Admin\\Controller\\ConfigController@index')))); }); ResConverterProvider::register(TecmzResConverter::class); } public function register() { } }