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
相关文章
相关标签/搜索