1. URL中传参:

案例一、 Route::post


jrd619.cn/hello/123?name=syh

案例二、 param('id')

param代表*,即get, post, put, delete的都行
案例三、param()
一次输出all 参数:


Paste_Image.png
案例四、
对于这样的一个路由:
jrd619.cn/hello/123?name=syh
** route获取123,get获取syh**
=== 分割线===


**get()**


**route()**


**post()**