重新初始化
This commit is contained in:
@@ -10,12 +10,13 @@
|
||||
// +----------------------------------------------------------------------
|
||||
use think\facade\Route;
|
||||
|
||||
Route::rule('/', 'Index/index');
|
||||
Route::rule('search', 'Index/search');
|
||||
Route::rule('lists', 'Index/lists');
|
||||
Route::rule('detail', 'Index/detail');
|
||||
Route::rule('category', 'Index/category');
|
||||
Route::rule('topic-:id', 'Index/topic');
|
||||
Route::rule('/', 'Front/index');
|
||||
Route::rule('search', 'Front/search');
|
||||
Route::rule('lists', 'Front/lists');
|
||||
Route::rule('detail-:id', 'Front/detail');
|
||||
Route::rule('category', 'Front/category');
|
||||
Route::rule('topic-:id', 'Front/topic');
|
||||
Route::rule('front/:function', 'Front/:function');
|
||||
|
||||
Route::group('admin', function () {
|
||||
Route::rule('/', 'admin.Index/index');
|
||||
|
||||
Reference in New Issue
Block a user