Commit e0384ff4 authored by shajiaiming's avatar shajiaiming

fix

parent 6734f4de
...@@ -41,7 +41,7 @@ class ExploreAppCategory extends BaseActiveRecord ...@@ -41,7 +41,7 @@ class ExploreAppCategory extends BaseActiveRecord
{ {
$scenarios = [ $scenarios = [
self:: SCENARIOS_CREATE => ['name', 'sort', 'limit', 'style', 'platform_id', 'status'], self:: SCENARIOS_CREATE => ['name', 'sort', 'limit', 'style', 'platform_id', 'status'],
self:: SCENARIOS_UPDATE => ['name', 'sort', 'limit', 'style', 'platform_id', 'status'], self:: SCENARIOS_UPDATE => ['name', 'sort', 'limit', 'style', 'status'],
]; ];
return array_merge(parent:: scenarios(), $scenarios); return array_merge(parent:: scenarios(), $scenarios);
} }
......
...@@ -108,7 +108,6 @@ class ExploreAppController extends BaseController ...@@ -108,7 +108,6 @@ class ExploreAppController extends BaseController
$model->setScenario(ExploreAppCategory::SCENARIOS_UPDATE); $model->setScenario(ExploreAppCategory::SCENARIOS_UPDATE);
unset($params['id']); unset($params['id']);
$params['platform_id'] = $platform_id;
$name_arr = $params['name']; $name_arr = $params['name'];
$name = []; $name = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment