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']); } /**