Commit a728b486 by 杨树贤

修复上传

parent 224ac646
Showing with 3 additions and 0 deletions
...@@ -23,6 +23,9 @@ class UploadService ...@@ -23,6 +23,9 @@ class UploadService
// 上传到图片服务器 // 上传到图片服务器
$client = new \GuzzleHttp\Client(); $client = new \GuzzleHttp\Client();
$response = $client->request('POST', env('FILE_SERVER_URL') . '/uploadFile?sys_type=5&create_uid=' . request()->cookie('oa_user_id'), [ $response = $client->request('POST', env('FILE_SERVER_URL') . '/uploadFile?sys_type=5&create_uid=' . request()->cookie('oa_user_id'), [
'headers' => [
'Referer' => 'supplier-liexin2026'
],
'multipart' => [ 'multipart' => [
[ [
'name' => 'file', 'name' => 'file',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment