<?php
 $router->group([ 'middleware' => [ \Module\Member\Middleware\WebAuthMiddleware::class, ], ], function () use ($router) { $router->match(['get', 'post'], 'vip_article', 'VipArticleController@index'); $router->match(['get', 'post'], 'vip_article/{id}', 'VipArticleController@views')->where(['id' => '[0-9]+']); $router->match(['get', 'post'], 'vip_article/search', 'VipArticleController@search')->where(['id' => '[0-9]+']); });