如何在其他控制器下調(diào)用index控制器下的某一個操作呢
方法寫成 trait 調(diào)用
$two = new TwoController(); $two->index($request);
不就好了