<?php
 $router->match(['get', 'post'], 'pay/return/{payType}', 'ReturnController@index'); $router->match(['get', 'post'], 'pay/notify/{payType}', 'NotifyController@index'); $router->group([ 'middleware' => [ \Module\Member\Middleware\WebAuthMiddleware::class, ], ], function () use ($router) { $router->match(['get', 'post'], 'pay', 'PayController@index'); $router->match(['get', 'post'], 'pay/watch', 'PayController@watch'); }); 