
public function ajaxpost(){
$question=D('question');
$where['q_type']=$_POST['q_type'];
import('ORG.Util.Page');// 导入分页类
$count = $question->where($where)->count();
$Page = new Page($count,3);
$show= $Page->show();
$list = $question->where($where)->order('q_time desc')->select();
$this->ajaxReturn($list);
}
这个要将内容和$show全部Ajaxreturn该怎么写
最佳答案