fix office save error

This commit is contained in:
kuaifan 2021-12-19 23:55:31 +08:00
parent fa8c209ea3
commit b20abb824d

View File

@ -363,7 +363,7 @@ class FileController extends AbstractController
//
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));