function reg() { //新浏览器注册 $this->bid = $this->insert(array('name' => $this->ip, 'type' => $this->type, 'os' => $this->os, 'ip' => $this->ip, 'pid' => $this->pid, 'dateline' => time())); $info = new InfoModel($this->bid); $info->add(); }