<?php
 $router->group([ 'middleware' => [ \Module\Member\Middleware\ApiAuthMiddleware::class, ], ], function () use ($router) { $router->match(['post', 'get'], 'link_domain/list', 'LinkDomainController@lists'); $router->match(['post', 'get'], 'link/generate', 'LinkController@generate'); $router->match(['get', 'post'], 'workbench/link_edit', 'WorkbenchLinkController@edit'); $router->match(['get', 'post'], 'workbench/link_delete', 'WorkbenchLinkController@delete'); });