<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\PayCenter\Provider; use Illuminate\Support\Facades\Log; use Module\PayCenter\Util\PayOrderUtil; use Payment\Notify\PayNotifyInterface; class AlipayQrPayNotify implements PayNotifyInterface { public function notifyProcess(array $U8wjN) { switch ($U8wjN['trade_status']) { case 'TRADE_SUCCESS': case 'TRADE_FINISHED': goto e85x_; J1cs1: if ($Tbn6c['code']) { return false; } goto LZcMk; LZcMk: return true; goto ILlFb; FND1a: $Tbn6c = PayOrderUtil::handleOrderPay(AlipayQrPayCenterProvider::NAME, $U8wjN['out_trade_no'], array('payOrderId' => $U8wjN['trade_no'])); goto J1cs1; e85x_: Log::info('PayCenter.AlipayQrNotifyVerifySuccess', array('out_trade_no' => $U8wjN['out_trade_no'], 'trade_no' => $U8wjN['trade_no'])); goto FND1a; ILlFb: } return true; } }