Commit 3f3a6921 authored by shajiaiming's avatar shajiaiming

return type

parent 2c4f52bb
...@@ -26,7 +26,7 @@ class ExploreController extends BaseController ...@@ -26,7 +26,7 @@ class ExploreController extends BaseController
foreach ($app_category_model as &$val) { foreach ($app_category_model as &$val) {
unset($val->apps); unset($val->apps);
$val->name = $val->name[$this->lang]; $val->name = $val->name[$this->lang];
$apps_model = ExploreApp::find()->select('id, name, icon, app_url, slogan') $apps_model = ExploreApp::find()->select('id, name, icon, type, app_url, slogan')
->where(['app_category_id' => (int)$val->id]) ->where(['app_category_id' => (int)$val->id])
->orderBy('sort') ->orderBy('sort')
->limit($val->limit) ->limit($val->limit)
......
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