LD 4 лет назад
Родитель
Сommit
c2c48b526d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app/Http/Controllers/api/thirdPart/haiq/LightController.php

+ 2 - 2
app/Http/Controllers/api/thirdPart/haiq/LightController.php

@@ -52,8 +52,8 @@ class LightController
                 /** @var CacheShelfService $cacheShelfService */
                 $cacheShelfService = app(CacheShelfService::class);
                 $result =   $cacheShelfService->lightOffTask($request['locCode'],$request['PTLAction']);
-                $response['location']=$result['success'];
-                $response['errMsg']=$result['errMsg'];
+                $response['location']=$result['success']??'';
+                $response['errMsg']=$result['errMsg']??'';
                 return $response;
             case 'U型线拍灯':
 //                $this->foreignHaiRoboticsService->uLineLightPat($station);