فهرست منبع

调整模型信息返回

waymen 5 ماه پیش
والد
کامیت
882c5016c3
1فایلهای تغییر یافته به همراه2 افزوده شده و 6 حذف شده
  1. 2 6
      app/Libraries/BIM/Glendale/Glendale.php

+ 2 - 6
app/Libraries/BIM/Glendale/Glendale.php

@@ -217,13 +217,9 @@ class Glendale extends BIMAbstract
             }
         }
 
-        $result = Arr::only($result, ['modelAccessAddress', 'lightweightName', 'fileOwnership', 'floorJsonURL', 'fileType', 'initiatingUser', 'modelType']);
-        $result['modelAccessAddress'] = str_replace('http://159.75.168.101:18086', 'https://gelan.autocde.com', $result['modelAccessAddress']);
-        if (isset($result['floorJsonURL'])) {
-            $result['floorJsonURL'] = str_replace('http://159.75.168.101:18086', 'https://gelan.autocde.com', $result['floorJsonURL']);
-        }
+        $result = Arr::only($result, ['modelAccessAddress', 'lightweightName', 'fileOwnership', 'floorJsonURL', 'fileType', 'initiatingUser', 'modelType', 'name']);
         $result['baseUrl'] = config('bim.glendale.base_url');
-        $result['stationUrl'] = config('bim.glendale.host');
+        // $result['stationUrl'] = config('bim.glendale.host');
         $result['stationToken'] = config('bim.glendale.token');
         return $result;
     }