Thinkphp5獲取參數方法

Thinkphp5中路由獲取參數php 第一種方法:數組 在定義路由的時候,以下寫法:函數 use  think\Route;post Route::post(‘hello/:id’,sample/test/hello);    //路由post方法ui url地址:http://ServerName/hello/123?name=huihuiurl 上面路由地址傳了兩個參數:id=123   n
相關文章
相關標籤/搜索