I want something like the bottom line:
Route::get('/{service}', 'SeminarController@index')->where('service','!=',user');
I have a root like the one below:
Route::get('/user', 'UserController@index');
Put your route:
Route::get('/{service}', 'SeminarController@index')
under
Route::get('/user', 'UserController@index');
Route::get('/user', 'UserController@index');
Route::get('/{service}', 'SeminarController@index');
that's all
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.