Commit 665ef435 authored by shajiaiming's avatar shajiaiming

fix

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