add clear

This commit is contained in:
as2252258@163.com
2019-10-25 15:20:52 +08:00
parent 4a3a3a5091
commit 4784354c22
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class Account extends Miniprogarampage
*/
public function decode($encryptedData, $iv, $sessionKey, $asArray = false)
{
$config = Wx::getMiniProGaRamPage()->getConfig();
$config = QqSDK::getMiniProGaRamPage()->getConfig();
if (strlen($sessionKey) != 24) {
throw new \Exception('encodingAesKey 非法', $this->IllegalAesKey);
}
+2 -2
View File
@@ -6,7 +6,7 @@ namespace qq;
use wchat\WxClient;
use wchat\Config;
class Wx
class QqSDK
{
/** @var static $instance */
@@ -21,7 +21,7 @@ class Wx
public static function getMiniProGaRamPage()
{
if (static::$instance === null) {
static::$instance = new Wx();
static::$instance = new QqSDK();
}
return static::$instance;
}