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; }