<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\CaptchaTecmz\Core; use Illuminate\Events\Dispatcher; use Illuminate\Support\ServiceProvider; use ModStart\Admin\Config\AdminMenu; use Module\CaptchaTecmz\Provider\TecmzCaptchaProvider; use Module\Vendor\Provider\Captcha\CaptchaProvider; class ModuleServiceProvider extends ServiceProvider { public function boot(Dispatcher $Cl2i3) { AdminMenu::register(function () { return array(array('title' => L('Site Manage'), 'icon' => 'cog', 'sort' => 400, 'children' => array(array('title' => '接口设置', 'children' => array(array('title' => '魔众智能验证码', 'url' => '\\Module\\CaptchaTecmz\\Admin\\Controller\\ConfigController@setting')))))); }); CaptchaProvider::register(TecmzCaptchaProvider::class); } public function register() { } }