作者 王智

修改

... ... @@ -184,8 +184,6 @@ class User extends Api
$app = new Application($options);
$miniProgram = $app->mini_program;
$sessionKey = $miniProgram->sns->getSessionKey($params['code']);
dump($sessionKey);
die;
$Json = $miniProgram->encryptor->decryptData($sessionKey['session_key'], urldecode($params['iv']), urldecode($params['encryptData']));
dump($Json);
die;
... ...