master
elf 2 years ago
parent e1464baf22
commit 32a70c5f15

@ -934,7 +934,10 @@ class NotifyController extends BaseController
public function kd_callback() {
$params = I('post.');
KDLog::write('NOTIFY_DATA:' . json_encode($params));
KDLog::write('NOTIFY_INPUT:' . file_get_contents('php://input'));
KDLog::write('NOTIFY_POST:' . json_encode($params));
KDLog::write('NOTIFY_REQUEST:' . json_encode($_REQUEST));
$response = new KDResponse($params);
if (!$response->verify()) {
echo 'SIGN_VERIFY_FAIL';

Loading…
Cancel
Save