public function sendData($data) { $data = parent::sendData($data); $this->response = new AopTradePayResponse($this, $data); if ($this->response->isWaitPay() && $this->polling) { $this->polling(); } return $this->response; }