|
@@ -35,11 +35,6 @@ $api->version('v1', [
|
|
|
$api->post('refresh', 'AuthController@refresh');
|
|
|
});
|
|
|
|
|
|
- //$api->group(['middleware' => 'chxq.shop_check'], function ($api) {
|
|
|
- $api->get('statistics', 'IndexController@index');
|
|
|
- $api->get('statistics/sales', 'IndexController@sales');
|
|
|
- //});
|
|
|
-
|
|
|
$api->group(['middleware' => 'jwt.chxq_auth'], function ($api) {
|
|
|
//新增编辑
|
|
|
$api->post('addShop', 'ShopController@addShop');
|
|
@@ -57,7 +52,5 @@ $api->version('v1', [
|
|
|
|
|
|
//公共配置
|
|
|
$api->post('configIndex', 'ConfigController@index');
|
|
|
-
|
|
|
-
|
|
|
});
|
|
|
});
|