mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-05 19:41:44 +08:00
调整支付通知处理
This commit is contained in:
parent
f726a62718
commit
a687b005d5
@ -222,7 +222,8 @@ abstract class BasicWePay
|
||||
*/
|
||||
public function notify()
|
||||
{
|
||||
$data = $_POST;
|
||||
$body = file_get_contents('php://input');
|
||||
$data = json_decode($body, true);
|
||||
if (isset($data['resource'])) {
|
||||
$aes = new DecryptAes($this->config['mch_v3_key']);
|
||||
$data['result'] = $aes->decryptToString(
|
||||
|
Loading…
x
Reference in New Issue
Block a user