<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ $router->group(array('middleware' => array(\Module\Member\Middleware\WebAuthMiddleware::class)), function () use($router) { $router->match(array('get', 'post'), 'shop', 'IndexController@index'); $router->match(array('get', 'post'), 'goods', 'GoodsController@index'); $router->match(array('get', 'post'), 'goods/{id}', 'GoodsController@show'); $router->match(array('get', 'post'), 'goods/best_sell', 'GoodsController@bestSell'); $router->match(array('get', 'post'), 'cart', 'CartController@index'); $router->match(array('get', 'post'), 'cart/checkout', 'CartController@checkout'); $router->match(array('get', 'post'), 'shop_order_member', 'ShopOrderMemberController@index'); $router->match(array('get', 'post'), 'shop_order_member/pay/{id}', 'ShopOrderMemberController@pay'); $router->match(array('get', 'post'), 'shop_order_member/detail/{id}', 'ShopOrderMemberController@detail'); $router->match(array('get', 'post'), 'shop_order_member/confirm/{id}', 'ShopOrderMemberController@confirm'); $router->match(array('get'), 'shop_order_member/shipping/{id}', 'ShopOrderMemberController@shipping'); });