diff --git a/pgserver/application/admin/controller/ReportManage.php b/pgserver/application/admin/controller/ReportManage.php index d3f9bc8..00ec1b1 100644 --- a/pgserver/application/admin/controller/ReportManage.php +++ b/pgserver/application/admin/controller/ReportManage.php @@ -2452,6 +2452,8 @@ class ReportManage extends Base{ $upload = ossUpload(trim(str_replace("\\", "/", $filename), '/'), $filePath); Log::error('upload:'); Log::error($upload); + Log::error("filePath:"); + Log::error($filePath); @unlink($filePath); //把本地图片删除(原图) //报告PDF地址 $url = config('uploadFile.url') . $filename; @@ -2756,6 +2758,8 @@ class ReportManage extends Base{ return $this->buildFailed('报告制作失败'); } $url = Db::name('report')->where('id', $postData['reportid'])->value('report_url'); + Log::error('url;:'); + Log::error($url); return $this->buildSuccess(['url' => $url]); }