Commit 0f9c73de authored by shajiaiming's avatar shajiaiming

公告平台区分

parent ba9d16a7
......@@ -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