diff --git a/WeChat/Contracts/BasicAliPay.php b/WeChat/Contracts/BasicAliPay.php index 732cac0..b2d320a 100644 --- a/WeChat/Contracts/BasicAliPay.php +++ b/WeChat/Contracts/BasicAliPay.php @@ -47,7 +47,7 @@ abstract class BasicAliPay * 静态缓存 * @var static */ - private static $cache; + protected static $cache; /** * 正常请求网关 diff --git a/WeChat/Contracts/BasicWeChat.php b/WeChat/Contracts/BasicWeChat.php index 5d4a1c0..81c3645 100644 --- a/WeChat/Contracts/BasicWeChat.php +++ b/WeChat/Contracts/BasicWeChat.php @@ -52,7 +52,7 @@ class BasicWeChat * 静态缓存 * @var static */ - private static $cache; + protected static $cache; /** * 注册代替函数 diff --git a/WeChat/Contracts/BasicWePay.php b/WeChat/Contracts/BasicWePay.php index 25b3f3b..55a7080 100644 --- a/WeChat/Contracts/BasicWePay.php +++ b/WeChat/Contracts/BasicWePay.php @@ -40,7 +40,7 @@ class BasicWePay * 静态缓存 * @var static */ - private static $cache; + protected static $cache; /** * WeChat constructor.