<?php /** * CommentListController.class.php * 回帖列表 * User: heyuelong * Date: 2017年4月27日14:26:19 */ namespace Api\Controller\Replies; use Common\Common\Constant; use Common\Service\CircleService; class ListController extends \Api\Controller\AbstractController { protected $_require_login = false; public function Index_get() { $params = I('get.'); // 回帖id if (empty($params['id'])) { E('_EMPTY_REPLIES_ID'); } // 评论列表 $service = new CircleService(); $list = $service->get_comment_list($params, $this->uid, Constant::CIRCLE_REPLIES_TOPIC_TYPE); $this->_result = $list; } }