public function getComment() { $input = I('post.'); $comment = new CommentModel(); $data = $comment->getComment(['date_id' => $input['date_id'], 'page' => $input['page']]); $this->ajaxReturn(['status' => 0, 'info' => '成功', 'data' => $data]); }