|
@@ -52,8 +52,8 @@ $api->version('v1', [
|
|
|
|
|
|
//公共配置
|
|
|
$api->post('configIndex', 'ConfigController@index');
|
|
|
-
|
|
|
- $api->group(['namespace' => 'Product','middleware'=>'chxq.shop_check'], function($api) {
|
|
|
+
|
|
|
+ $api->group(['middleware'=>'chxq.shop_check'], function($api) {
|
|
|
$api->get('statistics', 'IndexController@index');
|
|
|
$api->get('statistics/sales', 'IndexController@sales');
|
|
|
});
|