From b20abb824d25898ffa757d8468e137615c9929dc Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 19 Dec 2021 23:55:31 +0800 Subject: [PATCH] fix office save error --- app/Http/Controllers/Api/FileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/FileController.php b/app/Http/Controllers/Api/FileController.php index c9aa17b79..a1cf89bcd 100755 --- a/app/Http/Controllers/Api/FileController.php +++ b/app/Http/Controllers/Api/FileController.php @@ -363,7 +363,7 @@ public function content__office() // if ($status === 2) { $parse = parse_url($url); - $from = 'http://' . env('APP_IPPR') . '.6' . $parse['path'] . '?' . $parse['query']; + $from = 'http://' . env('APP_IPPR') . '.3' . $parse['path'] . '?' . $parse['query']; $path = 'uploads/office/' . date("Ym") . '/' . $file->id . '/' . $user->userid . '-' . $key; $save = public_path($path); Base::makeDir(dirname($save));