Commit ee7ee26d authored by shajiaiming's avatar shajiaiming

fix

parent 7d46c09f
......@@ -184,6 +184,7 @@ class ExploreAppController extends BaseController
}
$query = ExploreApp::find()
->where(['app_category_id' => $category_id])
->andWhere(['platform_id' => $platform_id])
->asArray();
$app_model = $query->offset(($page - 1) * $size)->orderBy('sort')->limit($size)->asArray()->all();
foreach ($app_model as &$val) {
......
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