ListController.class.php 589 Bytes
<?php
/**
 * ListController.class.php
 * 同事圈列表
 * User: heyuelong
 * Date:2017年4月26日16:33:44
 */

namespace Api\Controller\Topic;

use Common\Service\CircleService;

class ListController extends \Api\Controller\AbstractController
{

    /**
     * 主方法
     * @return boolean
     */
    public function Index_get()
    {
        $params = I('get.');

        // 实例化同事圈信息表
        $service = new CircleService();
        // 获取列表
        $list = $service->get_topic_list($params, $this->_login->user);

        $this->_result = $list;
    }
}