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