Browse Source

fix 上传模型

waymen 6 months ago
parent
commit
08164d3c4d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/Libraries/BIM/Glendale/Glendale.php

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

@@ -72,7 +72,9 @@ class Glendale extends BIMAbstract
                     'callbackInterfaceURL' => route('glendale.callback'),
                 ])
             ],
-            'multipart' => ['name' => 'file', 'contents' => fopen($file, 'r+'), 'filename' => $params['name'] ?? ''],
+            'multipart' => [
+                ['name' => 'file', 'contents' => fopen($file, 'r+'), 'filename' => $params['name'] ?? '']
+            ],
         ]);
     }