Skip to content

Commit 5ea0ff1

Browse files
author
Success Go
authored
Merge pull request #177 from jianyan74/master
修改回调签名错误
2 parents d428c9b + aca1964 commit 5ea0ff1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Common/Signer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Signer
1818
const KEY_TYPE_PUBLIC = 1;
1919
const KEY_TYPE_PRIVATE = 2;
2020

21-
protected $ignores = ['sign', 'sign_type'];
21+
protected $ignores = ['sign'];
2222

2323
protected $sort = true;
2424

src/Requests/AopNotifyRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ protected function verifySignature()
125125
$signer = new Signer($this->params->all());
126126
$signer->setSort($this->sort);
127127
$signer->setEncodePolicy($this->encodePolicy);
128+
$signer->setIgnores(['sign','sign_type']);
128129
$content = $signer->getContentToSign();
129130

130131
$sign = $this->params->get('sign');

0 commit comments

Comments
 (0)