Browse Source

增加返回Glendale相关信息

waymen 5 months ago
parent
commit
7df99fe4e2
2 changed files with 4 additions and 0 deletions
  1. 3 0
      app/Libraries/BIM/Glendale/Glendale.php
  2. 1 0
      config/bim.php

+ 3 - 0
app/Libraries/BIM/Glendale/Glendale.php

@@ -216,6 +216,9 @@ class Glendale extends BIMAbstract
             }
         }
 
+        $result['baseUrl'] = config('bim.glendale.base_url');
+        $result['stationUrl'] = config('bim.glendale.host');
+        $result['stationToken'] = config('bim.glendale.token');
         return $result;
     }
 

+ 1 - 0
config/bim.php

@@ -17,6 +17,7 @@ return [
 
     'glendale' => [
         'host' => env("GLENDALE_HOST", "http://159.75.168.101:18086"),
+        'base_url' => env('GLENDALE_BASE_URL', ''),
         'intranet_host' => env('GLENDALE_INTRANET_HOST', ''),
         'view_url' => env("GLENDALE_VIEW_URL", "http://159.75.168.101:18083"),
         'token' => env("GLENDALE_TOKEN"),