src/Query/Ali/AliChargeQuery.php
protected function retData(array $data)
    {
        $data = parent::retData($data); // TODO: Change the autogenerated stub

        try {
            $ret = $this->sendReq($data);
        } catch (PayException $e) {
            throw $e;
        }

        if ($this->config->returnRaw) {
            $ret['channel'] = Config::ALI_CHARGE;
            return $ret;
        }

        return $this->createBackData($ret);
    }
protected function retData(array $data)
    {
        $data = parent::retData($data); // TODO: Change the autogenerated stub

        try {
            $ret = $this->sendReq($data);
        } catch (PayException $e) {
            throw $e;
        }

        if ($this->config->returnRaw) {
            $ret['channel'] = Config::ALI_CHARGE;
            return $ret;
        }

        return $this->createBackData($ret);
    }
protected function retData ( array $ data ) { $ data = parent :: retData ( $ data ) ; // TODO: Change the autogenerated stub try { $ ret = $ this -> sendReq ( $ data ) ; } catch ( PayException $ e ) { throw $ e ; } if ( $ this -> config -> returnRaw ) { $ ret [ 'channel' ] = Config :: ALI_CHARGE ; return $ ret ; } return $ this -> createBackData ( $ ret ) ; }
请求后得到的返回数据
@param array $data
@return array|mixed
@throws PayException
请求后得到的返回数据