From def818b7df403c7a00a5070a722e531161f68835 Mon Sep 17 00:00:00 2001 From: Anyon Date: Sat, 12 Jan 2019 19:40:04 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E5=8E=BB=E9=99=A4=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=AE=9D=E8=BF=94=E5=9B=9E=E7=BB=93=E6=9E=9C=E7=AD=BE?= =?UTF-8?q?=E5=90=8D=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AliPay/Bill.php | 1 + AliPay/Pos.php | 1 + AliPay/Scan.php | 1 + AliPay/Transfer.php | 1 + WeChat/Contracts/BasicAliPay.php | 4 +++- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/AliPay/Bill.php b/AliPay/Bill.php index 4717197..995e906 100644 --- a/AliPay/Bill.php +++ b/AliPay/Bill.php @@ -38,6 +38,7 @@ class Bill extends BasicAliPay * @param array $options * @return mixed * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function apply($options) { diff --git a/AliPay/Pos.php b/AliPay/Pos.php index b173082..800104e 100644 --- a/AliPay/Pos.php +++ b/AliPay/Pos.php @@ -39,6 +39,7 @@ class Pos extends BasicAliPay * @param array $options * @return mixed * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function apply($options) { diff --git a/AliPay/Scan.php b/AliPay/Scan.php index b86afc1..df9973c 100644 --- a/AliPay/Scan.php +++ b/AliPay/Scan.php @@ -38,6 +38,7 @@ class Scan extends BasicAliPay * @param array $options * @return mixed * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function apply($options) { diff --git a/AliPay/Transfer.php b/AliPay/Transfer.php index 001eaca..bb745cf 100644 --- a/AliPay/Transfer.php +++ b/AliPay/Transfer.php @@ -39,6 +39,7 @@ class Transfer extends BasicAliPay * @param array $options * @return mixed * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function apply($options) { diff --git a/WeChat/Contracts/BasicAliPay.php b/WeChat/Contracts/BasicAliPay.php index 878b696..ec2b6ef 100644 --- a/WeChat/Contracts/BasicAliPay.php +++ b/WeChat/Contracts/BasicAliPay.php @@ -238,7 +238,9 @@ abstract class BasicAliPay $data[$method]['code'], $data ); } - return $this->verify($data[$method], $data['sign']); + return $data[$method]; + // 去除返回结果签名检查 + // return $this->verify($data[$method], $data['sign']); } /**