diff --git a/src/applet/app/controllers/CallBackController.php b/src/applet/app/controllers/CallBackController.php index 32ee919..65a6281 100644 --- a/src/applet/app/controllers/CallBackController.php +++ b/src/applet/app/controllers/CallBackController.php @@ -173,7 +173,9 @@ class CallBackController extends \Phalcon\Mvc\Controller $this->logger($args, 'wxpayAsyncNotifyCallBack', true); if ($this->request->isPost()) { - $this->logger($_POST, 'wxpayAsyncNotifyCallBack_post', true); + $data = file_get_contents('php://input'); + $data = json_decode($data, true); + $this->logger($data, 'wxpayAsyncNotifyCallBack_post', true); } } } \ No newline at end of file