add clear
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user