diff --git a/config/app.php b/config/app.php index 3d956197de7f365e878409196d52f2b236b2ab8b..85cbfacdc1fee264af42b99a43c0bd261245bdbd 100755 --- a/config/app.php +++ b/config/app.php @@ -19,7 +19,7 @@ return [ // 应用地址 'app_host' => '', // 应用调试模式 - 'app_debug' => false, + 'app_debug' => true, // 应用Trace 'app_trace' => false, // 是否支持多模块 diff --git a/route/route.config b/route/route.config index 5d390c8da4b9ca38c8fbfc3b2d75f5e13bc88684..ad2617247e87bad4b436316bed1d9db1cdebf0a2 100755 --- a/route/route.config +++ b/route/route.config @@ -17,7 +17,7 @@ $ds = MyC('common_route_separator', '-', true); // 首页 -Route::get('/', 'index/index'); +Route::get('/', 'index/index/index'); // 商品详情 Route::get('goods'.$ds.':id', 'index/goods/index');