Browse Source

refactor:完成前端商品分类控制器代码重构

antshop
linyaostalker 5 years ago
parent
commit
66c1051224
  1. 3
      backend/modules/goods/controllers/ShopCategoryController.php

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

Loading…
Cancel
Save