|
|
|
@ -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';
|
|
|
|
|