配置路由器參數(shù)時發(fā)生 throw new \InvalidArgumentException('method param miss:' . $name);的錯誤php代碼class?Test
{
????public?function?hello($id,?$name)
????{
????????echo?$id;
????????echo?'|';
????????echo?$name;
????????return?'hello,?qiyue';
????}
}瀏覽器輸入的地址http://z.cn/hello/123.name=qiyue 正確顯示123|qiyuehello,qiyue請問如何修改,謝謝
配置路由器發(fā)生 throw new \InvalidArgumentException('method param miss:' . $name);錯誤
慕函數(shù)6561509
2018-07-05 13:56:57