Commit 665ef435 authored by shajiaiming's avatar shajiaiming

fix

parent 38dcba0f
......@@ -24,6 +24,7 @@ class BannerController extends BaseController
}
$model = CoinBannerItem::find()
->select('banner_url, image_url, title, sort')
->where(['platform_id' => $platform_id, 'type' => $type, 'status' => CoinBannerItem::STATUS_ON])
->orderBy('sort')
->asArray()
......
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