sysUrl = env('sys_url', ''); } /** * Execute the console command. */ public function handle() { // 获取所有设备信息 $ip = '192.168.66.16'; $this->service = new CameraDeviceService($ip); // 通过设备信息获取设备状态 // 返回告诉设备状态情况 } }