efps-version
elf 1 year ago
parent 622dd50f31
commit 99f1365d01

@ -32,8 +32,8 @@ class NotifyController extends AbstractController
Log::info('paymentNotifyToOut params:', $params);
$sign = $request->getHeader('x-efps-sign');
$data = json_encode($params);
if (!Signer::verify($data, $sign)) {
Log::info('paymentNotifyToOut data: ' . $data . ' sign: ' . $sign);
if (!Signer::verify($data, $sign[0])) {
Log::info('paymentNotifyToOut data: ' . $data . ' sign: ' . serialize($sign));
return [
'returnCode' => '0001',
'returnMsg' => '签名验证失败'
@ -88,8 +88,8 @@ class NotifyController extends AbstractController
Log::info('refundNotifyToOut params:', $params);
$sign = $request->getHeader('x-efps-sign');
$data = json_encode($params);
if (!Signer::verify($data, $sign)) {
Log::info('refundNotifyToOut data: ' . $data . ' sign: ' . $sign);
if (!Signer::verify($data, $sign[0])) {
Log::info('refundNotifyToOut data: ' . $data . ' sign: ' . serialize($sign));
return [
'returnCode' => '0001',
'returnMsg' => '签名验证失败'

Loading…
Cancel
Save