mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-05 19:41:44 +08:00
Merge branch 'master' of https://github.com/zoujingli/WeChatDeveloper
This commit is contained in:
commit
b4a905a618
@ -25,7 +25,7 @@ try {
|
|||||||
|
|
||||||
// 4. 获取通知参数
|
// 4. 获取通知参数
|
||||||
$data = $wechat->getNotify();
|
$data = $wechat->getNotify();
|
||||||
if ($data['result_code'] === 'SUCCESS' && $data['result_code'] === 'SUCCESS') {
|
if ($data['return_code'] === 'SUCCESS' && $data['result_code'] === 'SUCCESS') {
|
||||||
// @todo 去更新下原订单的支付状态
|
// @todo 去更新下原订单的支付状态
|
||||||
$order_no = $data['out_trade_no'];
|
$order_no = $data['out_trade_no'];
|
||||||
|
|
||||||
@ -39,4 +39,4 @@ try {
|
|||||||
// 出错啦,处理下吧
|
// 出错啦,处理下吧
|
||||||
echo $e->getMessage() . PHP_EOL;
|
echo $e->getMessage() . PHP_EOL;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user