1. URL中傳參:
案例一、 Route::post
jrd619.cn/hello/123?name=syh
案例二客给、 param('id')
param代表*,即get, post, put, delete的都行
案例三肢簿、param()
一次輸出all 參數(shù):
Paste_Image.png
案例四靶剑、
對于這樣的一個路由:
jrd619.cn/hello/123?name=syh
** route獲取123,get獲取syh**
=== 分割線===
**get()**
**route()**
**post()**