EventModel::getList PHP Method

getList() public method

getList 供后台管理获取列表的方法
public getList ( $map, mixed $order, mixed $limit )
$order mixed
$limit mixed
    public function getList($map, $order, $limit)
    {
        $result = $this->where($map)->order($order)->findPage($limit);
        //将属性追加
        foreach ($result['data'] as &$value) {
            $value = $this->appendContent($value);
        }
        return $result;
    }