如果你想定义只有一个行为的控制器,只需在控制器中设置一个名为 __invoke 的方法即可: <?php namespace App\Http\Controllers; use App\User; ...
確定! 回上一頁