From 05675471abb9787b8255ae7568f4527a03b8bc0e Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Thu, 15 Jan 2026 18:03:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/controller/UploadController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/controller/UploadController.php b/app/common/controller/UploadController.php index f779631..74cf622 100644 --- a/app/common/controller/UploadController.php +++ b/app/common/controller/UploadController.php @@ -157,7 +157,7 @@ class UploadController ->size(1024*1024*30) ->extYes(['image/jpeg','image/png']) ->extNo(['image/gif']) - ->upload($finalPath); + ->uploadFile($finalPath); // 清理临时文件 @unlink($tmpPath);