<?php
 $router->group([ 'middleware' => [ \Module\Member\Middleware\WebAuthMiddleware::class, ], ], function () use ($router) { $router->match(['get', 'post'], 'paper', 'PaperController@index'); $router->match(['get', 'post'], 'paper/view/{alias}', 'PaperController@views'); $router->match(['get', 'post'], 'paper/search', 'PaperController@search'); $router->match(['get', 'post'], 'paper_exam/view/{alias}', 'PaperExamController@views'); $router->match(['get', 'post'], 'paper_exam/start/{alias}', 'PaperExamController@start'); $router->match(['get', 'post'], 'paper_exam/submit/{alias}', 'PaperExamController@submit'); $router->match(['get', 'post'], 'paper_exam/save/{alias}', 'PaperExamController@save'); $router->match(['get', 'post'], 'paper_exam_member', 'PaperExamMemberController@index'); $router->match(['get', 'post'], 'paper_exam_member/{id}', 'PaperExamMemberController@views'); });