cqp hai 2 semanas
pai
achega
05fa5247f7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/Console/Commands/DeviceJLWM.php

+ 2 - 2
app/Console/Commands/DeviceJLWM.php

@@ -43,7 +43,7 @@ class DeviceJLWM extends Command
         try {
             $this->generateMachineMockData();
         }catch (\Exception $exception){
-            Log::error("恒昌设备异常", ['msg' => $exception->getMessage()]);
+            Log::error("家里屋美设备异常", ['msg' => $exception->getMessage()]);
         }
     }
 
@@ -51,7 +51,7 @@ class DeviceJLWM extends Command
         list($status,$token) = ClearDataService::getTokenJLWM();
         if(! $status) return [false, $token];
 
-        $url = $this->url . "api/module-data/jlwm_device_machine_record/jlwm_device_machine_record/diy/create_data";
+        $url = config('ip.zslf') . "api/module-data/jlwm_device_machine_record/jlwm_device_machine_record/diy/create_data";
         $post = [
             'data' => [
                 'device_machine_record' => $data