src/QueryContext.php
public function query(array $data)
    {
        if (! $this->query instanceof BaseStrategy) {
            throw new PayException('请检查初始化是否正确');
        }

        try {
            return $this->query->handle($data);
        } catch (PayException $e) {
            throw $e;
        }
    }
public function query(array $data)
    {
        if (! $this->query instanceof BaseStrategy) {
            throw new PayException('请检查初始化是否正确');
        }

        try {
            return $this->query->handle($data);
        } catch (PayException $e) {
            throw $e;
        }
    }
通过环境类调用支付异步通知

@param array $data
// 二者设置一个即可
$data => [
'transaction_id'    => '原付款支付宝交易号',
'order_no' => '商户订单号',
];

@return array
@throws PayException
@author helei