<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ $router->group(array('middleware' => array(\Module\Member\Middleware\ApiAuthMiddleware::class)), function () use($router) { $router->match(array('post'), 'category/all', 'CategoryController@all'); $router->match(array('post'), 'category/home', 'CategoryController@home'); $router->match(array('post'), 'goods/recommend', 'GoodsController@recommend'); $router->match(array('post'), 'goods/paginate', 'GoodsController@paginate'); $router->match(array('post'), 'goods/get', 'GoodsController@get'); $router->match(array('post'), 'cart/add', 'CartController@add'); $router->match(array('post'), 'cart/quick_submit', 'CartController@quickSubmit'); $router->match(array('post'), 'cart/delete', 'CartController@delete'); $router->match(array('post'), 'cart/submit', 'CartController@submit'); $router->match(array('post'), 'cart/checkout', 'CartController@checkout'); $router->match(array('post'), 'cart/checkout_voucher', 'CartController@checkoutVoucher'); $router->match(array('post'), 'cart/checkout_info', 'CartController@checkoutInfo'); $router->match(array('post'), 'cart/all', 'CartController@all'); $router->match(array('post'), 'cart/calc', 'CartController@calc'); $router->match(array('post'), 'shop/member_order/pay', 'MemberOrderController@pay'); $router->match(array('post'), 'shop/member_order/paginate', 'MemberOrderController@paginate'); $router->match(array('post'), 'shop/member_order/detail', 'MemberOrderController@detail'); $router->match(array('post'), 'shop/member_order/confirm', 'MemberOrderController@confirm'); $router->match(array('post'), 'shop/member_order/shipping', 'MemberOrderController@shipping'); });