欢迎各位兄弟 发布技术文章
这里的技术是共享的
public function showLoginForm(){ $view = property_exists($this, 'loginView') ? $this->loginView : 'auth.authenticate'; if (view()->exists($view)) { return view($view); } return view('admin.auth.login');}