Commit 77f6cce4 by 冷斌

fix bug

parent 0cd0f550
...@@ -80,8 +80,6 @@ class TopicAction extends CommonAction ...@@ -80,8 +80,6 @@ class TopicAction extends CommonAction
$data = D('Topics')->getTopic(1,$_GET['cate'],$map); $data = D('Topics')->getTopic(1,$_GET['cate'],$map);
$this->assign('topic_data',$data); $this->assign('topic_data',$data);
if($this->isAjax()) { if($this->isAjax()) {
var_dump($data);
die;
echo json_encode($data); echo json_encode($data);
exit(); exit();
} }
......
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