Commit 880ebaab by 冷斌

fix bug

parent 1adc632e
...@@ -53,7 +53,7 @@ class IndexAction extends CommonAction ...@@ -53,7 +53,7 @@ class IndexAction extends CommonAction
'_string' =>'(`start_time` <= ' . time() . ' OR `start_time` = 0) AND (`end_time` >= ' . time() . ' OR `end_time` = 0)', '_string' =>'(`start_time` <= ' . time() . ' OR `start_time` = 0) AND (`end_time` >= ' . time() . ' OR `end_time` = 0)',
'best' => 1, 'best' => 1,
]; ];
$list = D('ExamsPaper', 'exams')->getPaperPageList($where, 16, 'default', true); $list = D('ExamsPaper', 'exams')->getPaperPageList($where, 1000, 'default', true);
$this->assign('exams', $list); $this->assign('exams', $list);
if ($config['tpl'] == 'theme_x4') { if ($config['tpl'] == 'theme_x4') {
$info_data = $this->get_index_one_data($config['item']); $info_data = $this->get_index_one_data($config['item']);
......
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