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; } /**