1Route::prefix('prefix_name')
2 ->where(['prefix_variable' => '[0-9]+'])->group(function () {
3 Route::get('get_link', function ($projectType) {
4 dd($projectType);
5 });
6 Route::post('post_link', function ($projectType, $detail) {
7 dd($projectType, $detail);
8 });
9 });
10