Commit eff11c27 authored by shajiaiming's avatar shajiaiming

fix bug

parent dbc900ff
......@@ -50,7 +50,7 @@ class NoticeController extends BaseController
if (false != $type) {
$query->andWhere(['type' => (int)$type]);
if (Notice::TOP_TRUE == (int)$type) {
if (Notice::TYPE_POP == (int)$type) {
$size = 1;
}
}
......
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