public function getAlipayResponse($key) { if ($key) { return array_get($this->data, "{$this->key}.{$key}"); } else { return array_get($this->data, $this->key); } }