路由冲突处理
parent
d5aeae6b1f
commit
663c78f664
|
|
@ -19,7 +19,7 @@ return [
|
|||
// 应用地址
|
||||
'app_host' => '',
|
||||
// 应用调试模式
|
||||
'app_debug' => false,
|
||||
'app_debug' => true,
|
||||
// 应用Trace
|
||||
'app_trace' => false,
|
||||
// 是否支持多模块
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue