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