Commit 1bcd233e authored by shajiaiming's avatar shajiaiming

fix

parent 22c32f4e
...@@ -44,7 +44,7 @@ class NoticeController extends BaseController ...@@ -44,7 +44,7 @@ class NoticeController extends BaseController
$size = \Yii::$app->request->get('size', 10); $size = \Yii::$app->request->get('size', 10);
$query = Notice::find() $query = Notice::find()
->select('id, title, author, type, create_time') ->select('id, title, content, author, type, create_time')
->where(['status' => Notice::STATUS_ON]) ->where(['status' => Notice::STATUS_ON])
->orderBy('create_time desc'); ->orderBy('create_time desc');
......
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