diff --git a/config/app.php b/config/app.php index 3d956197d..85cbfacdc 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 5d390c8da..ad2617247 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');