public function getOpenId() { $data = $this->getData(); return isset($data['openid']) ? $data['openid'] : null; }