Commit 45e413b0 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into 'master'

公告平台区分 See merge request !243
parents bf48caff 0f9c73de
......@@ -45,7 +45,7 @@ class NoticeController extends BaseController
$query = Notice::find()
->select('id, title, content, author, type, is_top, create_time')
->where(['status' => Notice::STATUS_ON])
->where(['status' => Notice::STATUS_ON, 'platform_id' => (int)$platform_id])
->orderBy('create_time desc');
if (false != $type) {
......
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