Heim > Fragen und Antworten > Hauptteil
Website: http://localhost/thinkphp/public/index/Be/demo1/name/think
——————————————————————— —— -- bis out 'before2'= & gt; 'beFore3' = & GT; ['Except' = & GT; 'Demo3, DEMO1'],
Protected $ sitename; $this->siteName =$this->request->param('name');
}
protected function before2()
{
$this->siteName = 'Baidu Chinese Network 2';
}
protected function before3()
gt; sitename; turn 'ss3'
}