http://tp6.io/index.php/account/login/index/name?test,就可以。
public function __construct(Request $request)
{
$this->request = $request;
}
//默认入口
public function index(){
return $this->request->param('name');
//return $this->login($this->request);
}
最佳答案
