<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Partner\Core; use Illuminate\Events\Dispatcher; use Illuminate\Support\Facades\Log; use Illuminate\Support\ServiceProvider; use ModStart\Admin\Config\AdminMenu; use ModStart\Module\ModuleClassLoader; use Module\Partner\Biz\PartnerPositionBiz; use Module\Vendor\Admin\Widget\AdminWidgetLink; class ModuleServiceProvider extends ServiceProvider { public function boot(Dispatcher $in2oG) { goto sjQj8; JcRDC: AdminMenu::register(function () { return array(array('title' => '物料管理', 'icon' => 'description', 'sort' => 200, 'children' => array(array('title' => '友情链接', 'url' => '\\Module\\Partner\\Admin\\Controller\\PartnerController@index')))); }); goto G7C67; n8rLe: PartnerPositionBiz::registerQuick('page', '独立页面'); goto Vrc3y; sjQj8: if (method_exists(ModuleClassLoader::class, 'addClass')) { ModuleClassLoader::addClass('MPartner', __DIR__ . '/../Helpers/MPartner.php'); } goto n8rLe; Vrc3y: AdminWidgetLink::register(function () { $hQj_u = array(); $hQj_u[] = array('友情链接', modstart_web_url('partner')); return AdminWidgetLink::build('系统', $hQj_u); }); goto JcRDC; G7C67: } public function register() { } }