<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ $router->group(array('middleware' => array(\Module\Member\Middleware\WebAuthMiddleware::class)), function () use($router) { $router->match(array('get', 'post'), 'pic_uploader', 'IndexController@index'); $router->match(array('get', 'post'), 'pic_uploader/save', 'IndexController@save'); $router->match(array('get', 'post'), 'member/pic_uploader/api', 'MemberApiController@index'); }); $router->group(array('middleware' => array(\Module\Vendor\Middleware\StatelessRouteMiddleware::class)), function () use($router) { $router->match(array('get', 'post'), 'pic_uploader/token/{token}', 'TokenController@index'); });