From a629b2d676dab0edc7d077f97ed8c161a22e4a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 19 Jun 2023 14:11:56 +0800 Subject: [PATCH] Update BasicWePay.php --- WePayV3/Contracts/BasicWePay.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/WePayV3/Contracts/BasicWePay.php b/WePayV3/Contracts/BasicWePay.php index 583b31e..7807649 100644 --- a/WePayV3/Contracts/BasicWePay.php +++ b/WePayV3/Contracts/BasicWePay.php @@ -65,6 +65,8 @@ abstract class BasicWePay /** * BasicWePayV3 constructor. * @param array $options [mch_id, mch_v3_key, cert_public, cert_private] + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function __construct(array $options = []) { @@ -139,6 +141,8 @@ abstract class BasicWePay * 静态创建对象 * @param array $config * @return static + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public static function instance($config) { @@ -329,7 +333,7 @@ abstract class BasicWePay } /** - * RSA加密处理 + * RSA加密处理-平台证书 * @param string $string * @return string * @throws \WeChat\Exceptions\InvalidDecryptException