<?php
 $router->group([ 'middleware' => [ \Module\Member\Middleware\WebAuthMiddleware::class, ], ], function () use ($router) { $router->match(['get', 'post'], 'short_link', 'ShortLinkController@index'); $router->match(['get'], 's{linkId}', 'SEngineController@index')->where(['id' => '[a-ZA-Z0-9]+']); $router->match(['get', 'post'], 'workbench/link_generate', 'WorkbenchLinkController@generate'); $router->match(['get', 'post'], 'workbench/link_manage', 'WorkbenchLinkController@manage'); $router->match(['get', 'post'], 'workbench/link_report', 'WorkbenchLinkController@report'); }); 