insert($attrs); return $id; } static public function getInfoById($id) { $Table_index_sh = new Table_index_sh(); return $Table_index_sh->getInfoById($id); } /** * 记录管理员日志 * * @param $log 日志内容 * */ static public function add($attrs){ if (empty($attrs)) throw new Exception('参数不能为空', 102); $Table_index_sh = new Table_index_sh(); $id = $Table_index_sh->add($attrs); return $id; } static public function getList($filter = array(), $count=0, $page=0, $pageSize=0) { $Table_index_sh = new Table_index_sh(); return $Table_index_sh->getList($filter, $count, $page, $pageSize); } } ?>