Skip to content

Commit

Permalink
fix office save error
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Dec 19, 2021
1 parent fa8c209 commit b20abb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/FileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit b20abb8

Please sign in to comment.