Route::get('/', function () {
return view('welcome');
});
Route::get('base1',function (){
return 12;
});
Route::post("base2",function (){
return "post";
});
Route::match(["post","get"],function (){
return "111";
});
Route::any("any",function (){
return "any";
});
为什么你写get 或者post 他就知道了你是这种请求?请大牛深入的解释下