From 345b3539a4233b315c38d41943c52a0e3a3d3164 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Wed, 1 Mar 2023 12:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=94=99=E8=AF=AF=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/base/Uploader.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extend/base/Uploader.php b/extend/base/Uploader.php index dbe84a83b..d057027fc 100755 --- a/extend/base/Uploader.php +++ b/extend/base/Uploader.php @@ -137,7 +137,7 @@ class Uploader if (!(move_uploaded_file($file['tmp_name'], $this->filePath) && file_exists($this->filePath))) { //移动失败 $this->stateInfo = $this->getStateErrorInfo('error_file_move'); } else { //移动成功 - $this->stateInfo = MyLang('upload_success'); + $this->stateInfo = 'SUCCESS'; } } @@ -222,7 +222,7 @@ class Uploader { $this->stateInfo = $this->getStateErrorInfo('error_image_save'); } else { - $this->stateInfo = MyLang('upload_success'); + $this->stateInfo = 'SUCCESS'; } } @@ -266,7 +266,7 @@ class Uploader if (!(file_put_contents($this->filePath, $img) && file_exists($this->filePath))) { $this->stateInfo = $this->getStateErrorInfo('error_write_content'); } else { - $this->stateInfo = MyLang('upload_success'); + $this->stateInfo = 'SUCCESS'; } } @@ -358,7 +358,7 @@ class Uploader if (!(file_put_contents($this->filePath, $img) && file_exists($this->filePath))) { $this->stateInfo = $this->getStateErrorInfo('error_write_conent'); } else { - $this->stateInfo = MyLang('upload_success'); + $this->stateInfo = 'SUCCESS'; } }