public function remove($id) { $platform = $this->getOne($id); if (empty($platform)) { return error(-1, '访问错误'); } $this->table('__BR_BRIDGES__')->where("`id`='{$id}'")->delete(); return $this->addon->unRegister($id); }