getInfoById($id); } /*** * @param $log * @return mixed * @throws Exception * */ static public function add($attrs){ if (empty($attrs)) throw new Exception('参数不能为空', 102); $Table_index_gem = new Table_index_gem(); $id = $Table_index_gem->add($attrs); return $id; } static public function getList($filter = array(), $count=0, $page=0, $pageSize=0) { $Table_index_gem = new Table_index_gem(); return $Table_index_gem->getList($filter, $count, $page, $pageSize); } } ?>