作者 邓超

v2

... ... @@ -61,7 +61,7 @@ use Illuminate\Support\Facades\Route;
*/
Route::get('/', [\App\Http\Controllers\V2\Index::class,'home']);
// 博客列表
Route::get('/blogs', [\App\Http\Controllers\V2\Index::class,'blog']);
Route::get('/blog', [\App\Http\Controllers\V2\Index::class,'blog']);
// 博客详情
Route::get('/blog/{id}', [\App\Http\Controllers\V2\Index::class,'blog_info'])->where('id','\d+');
// 单页
... ...