middleware 的 options 参数
middleware的options参数,$this->middleware('guest', ['except' => 'getLogout']);
有排除选项'except' => []
还有其他选项吗? 比如 'only' => []
推荐文章: