Commit 7c30a45c by 冷斌

fix bug

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