request->isGet() === false){ $this->error('请求错误'); } $db2 = Db::connect(config('database.db2')); } }