<?php
Route::group( [ 'middleware' => [ 'web.bootstrap', \Module\Member\Middleware\WebAuthMiddleware::class, ], 'namespace' => '\App\Web\Controller', ], function ($router) { $router->match(['get', 'post'], '', 'IndexController@index'); $router->match(['get', 'post'], 'member', 'MemberController@index'); $router->match(['get', 'post'], 'member_profile', 'MemberProfileController@index'); $router->match(['get', 'post'], 'product/report', 'ProductController@report'); $router->match(['get', 'post'], 'product/{type}', 'ProductController@index'); $router->match(['get', 'post'], 'product/{type}/buy', 'ProductController@buy'); $router->match(['get', 'post'], 'product/{type}/version_check', 'ProductController@versionCheck'); $router->match(['get', 'post'], 'product/{type}/doc/{file}', 'ProductController@doc'); $router->match(['get', 'post'], 'product/{type}/cover', 'ProductController@cover'); $router->match(['get', 'post'], 'product/{type}/feedback/{from?}', 'ProductController@feedback'); $router->match(['get', 'post'], 'product/{type}/feedback_captcha', 'ProductController@feedbackCaptcha'); $router->match(['get', 'post'], 'product_release/{id}', 'ProductReleaseController@show')->where(['id' => '[0-9]+']); $router->match(['get', 'post'], 'member/product_order', 'MemberProductOrderController@index'); $router->match(['get', 'post'], 'member/product_order/delete', 'MemberProductOrderController@delete'); $router->match(['get', 'post'], 'member/product_order/pay', 'MemberProductOrderController@pay'); $router->match(['get', 'post'], 'member/product_order/cancel', 'MemberProductOrderController@cancel'); $router->match(['get', 'post'], 'member/product_order_service', 'MemberProductOrderServiceController@index'); $router->match(['get', 'post'], 'member/product_order_auth', 'MemberProductOrderAuthController@index'); $router->match(['get', 'post'], 'member/product_order_auth/edit', 'MemberProductOrderAuthController@edit'); $router->match(['get', 'post'], 'certificate', 'CertificateController@index'); $router->match(['get', 'post'], 'certificate/{alias}', 'CertificateController@show'); $router->match(['get', 'post'], 'certificate/image/{alias}', 'CertificateController@image'); $router->match(['get', 'post'], 'data/file_manager/{category}', 'DataController@fileManager'); }); 