...
|
...
|
@@ -65,6 +65,6 @@ Route::get('/blogs', [\App\Http\Controllers\V2\Index::class,'blog']); |
|
|
// 博客详情
|
|
|
Route::get('/blog/{id}', [\App\Http\Controllers\V2\Index::class,'blog_info'])->where('id','\d+');
|
|
|
// 单页
|
|
|
Route::get('/page/{id}', [\App\Http\Controllers\V2\Index::class,'page'])->where('id','\d+');
|
|
|
Route::get('/page/{key}', [\App\Http\Controllers\V2\Index::class,'page'])->where('key','[a-z_\-\d]{2,}');
|
|
|
|
|
|
|
...
|
...
|
|