Commit 7e9f2bf1 authored by shajiaiming's avatar shajiaiming

return new column

parent 3759c4c5
...@@ -56,7 +56,7 @@ class ExploreAppCategory extends BaseActiveRecord ...@@ -56,7 +56,7 @@ class ExploreAppCategory extends BaseActiveRecord
public function getApplications() public function getApplications()
{ {
return $this->hasMany(ExploreApp::className(), ['app_category_id' => 'id'])->select(['name', 'icon', 'app_url', 'slogan', 'type']); return $this->hasMany(ExploreApp::className(), ['app_category_id' => 'id'])->select(['id', 'name', 'icon', 'app_url', 'slogan', 'type']);
} }
} }
\ No newline at end of file
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