|
@ -3,7 +3,6 @@ |
|
|
namespace backend\modules\goods\controllers; |
|
|
namespace backend\modules\goods\controllers; |
|
|
|
|
|
|
|
|
use backend\modules\file\logic\file\FileManager; |
|
|
use backend\modules\file\logic\file\FileManager; |
|
|
use backend\modules\goods\logic\goods\GoodsManager; |
|
|
|
|
|
use backend\modules\file\models\ars\File; |
|
|
use backend\modules\file\models\ars\File; |
|
|
use Exception; |
|
|
use Exception; |
|
|
use Yii; |
|
|
use Yii; |
|
@ -103,6 +102,7 @@ class ShopCategoryController extends Controller |
|
|
* @param integer $id |
|
|
* @param integer $id |
|
|
* @return mixed |
|
|
* @return mixed |
|
|
* @throws NotFoundHttpException if the model cannot be found |
|
|
* @throws NotFoundHttpException if the model cannot be found |
|
|
|
|
|
* @throws Exception |
|
|
*/ |
|
|
*/ |
|
|
public function actionUpdate($id) |
|
|
public function actionUpdate($id) |
|
|
{ |
|
|
{ |
|
@ -188,6 +188,7 @@ class ShopCategoryController extends Controller |
|
|
if ($data['status'] == true) { |
|
|
if ($data['status'] == true) { |
|
|
return FileManager::saveTemFile($fileName, $data); |
|
|
return FileManager::saveTemFile($fileName, $data); |
|
|
} |
|
|
} |
|
|
|
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|