mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-05 09:52:47 +08:00
Modify first result_code to return_code
This commit is contained in:
parent
f204629dc5
commit
83506ac24c
@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user