From 66c1051224a8f24ab6d2a8f7fc0becd56cade501 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Thu, 12 Dec 2019 15:11:16 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E5=AE=8C=E6=88=90=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=86=E7=B1=BB=E6=8E=A7=E5=88=B6=E5=99=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/modules/goods/controllers/ShopCategoryController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/modules/goods/controllers/ShopCategoryController.php b/backend/modules/goods/controllers/ShopCategoryController.php index edc78a7..2ee1bfb 100755 --- a/backend/modules/goods/controllers/ShopCategoryController.php +++ b/backend/modules/goods/controllers/ShopCategoryController.php @@ -3,7 +3,6 @@ namespace backend\modules\goods\controllers; use backend\modules\file\logic\file\FileManager; -use backend\modules\goods\logic\goods\GoodsManager; use backend\modules\file\models\ars\File; use Exception; use Yii; @@ -103,6 +102,7 @@ class ShopCategoryController extends Controller * @param integer $id * @return mixed * @throws NotFoundHttpException if the model cannot be found + * @throws Exception */ public function actionUpdate($id) { @@ -188,6 +188,7 @@ class ShopCategoryController extends Controller if ($data['status'] == true) { return FileManager::saveTemFile($fileName, $data); } + return false; } /**