<?php /** * ListController.class.php * 同事圈详情评论列表 * User: heyuelong * Date: 2017年4月27日14:26:19 */ namespace Api\Controller\Comment; 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_CIRCLE_ID'); } // 帖子评论列表 $service = new CircleService(); $list = $service->get_comment_list($params, $this->uid, Constant::CIRCLE_NOTE_COMMENT); $this->_result = $list; } }