This commit is contained in:
Anyon 2019-04-23 15:52:27 +08:00
commit b4a905a618

View File

@ -25,7 +25,7 @@ try {
// 4. 获取通知参数
$data = $wechat->getNotify();
if ($data['result_code'] === 'SUCCESS' && $data['result_code'] === 'SUCCESS') {
if ($data['return_code'] === 'SUCCESS' && $data['result_code'] === 'SUCCESS') {
// @todo 去更新下原订单的支付状态
$order_no = $data['out_trade_no'];
@ -39,4 +39,4 @@ try {
// 出错啦,处理下吧
echo $e->getMessage() . PHP_EOL;
}
}