????: http://localhost/thinkphp/public/index/Be/demo1/name/think
———————————————————————— —— ——
?????? appindexcontroller;
class Be ?? thinkController
{
protected $beforeActionList = [
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?>? ? ? ????? ~? ????????????? out?????????????????? ?'before2'= & gt ['only' = & gt; 'beface3' = & gt; ['??' = & gt; 'demo3, ??1'],
]; >request->param('name');
}
??? ?? before2()
{
$this->siteName = 'Baidu Chinese Network 2';
}
? ??? ?? before3()
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ? ? ? ? ? ? ? ? ? ? ?. { Return $ this-& gt;
}
?? ?? ??2() {
Return $ This-& gt;
??? ??? ?? ??????