master
tping 4 years ago
parent d3ceb25b63
commit 95b003fc4e

@ -888,9 +888,8 @@ class NotifyController extends BaseController
Log::write(serialize($_REQUEST), Log::DEBUG);
// $yop_public_key = C('yeepay.yop_public_key');
// $private_key = C('yeepay.private_key');
$source = $_REQUEST['response'];
$identifier = $source['customerIdentification'];
$identifier = $_REQUEST['customerIdentification'];
if (substr($identifier, 0, 4) == "OPR:") {
$identifier = substr($identifier, 4);
}
@ -898,7 +897,7 @@ class NotifyController extends BaseController
'identifier' => $identifier
])->find();
if (!$merchant) {
$this->record_logs("找不到商户!".$notify['auth_app_id']);
$this->record_logs("找不到商户!".$identifier);
echo 'fail';
exit();
}

Loading…
Cancel
Save