正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -184,7 +184,7 @@ class User extends Api | @@ -184,7 +184,7 @@ class User extends Api | ||
184 | $app = new Application($options); | 184 | $app = new Application($options); |
185 | $miniProgram = $app->mini_program; | 185 | $miniProgram = $app->mini_program; |
186 | $sessionKey = $miniProgram->sns->getSessionKey($params['code']); | 186 | $sessionKey = $miniProgram->sns->getSessionKey($params['code']); |
187 | - $Json = $miniProgram->encryptor->decryptData($sessionKey['session_key'], urldecode($params['iv']), urldecode($params['encryptData'])); | 187 | + $Json = $miniProgram->encryptor->decryptData($sessionKey['session_key'], $params['iv'], $params['encryptData']); |
188 | dump($Json); | 188 | dump($Json); |
189 | die; | 189 | die; |
190 | $Mobile = $Json['phoneNumber']; | 190 | $Mobile = $Json['phoneNumber']; |
-
请 注册 或 登录 后发表评论