|
@@ -140,7 +140,7 @@ class Login extends Api
|
|
$this->error('code参数错误');
|
|
$this->error('code参数错误');
|
|
}
|
|
}
|
|
$data=$app->auth->session($code);
|
|
$data=$app->auth->session($code);
|
|
- $decryptedData = $app->encryptor->decryptData($decryptedData['session_key'], input('iv'), input('encryptedData'));
|
|
|
|
|
|
+ $decryptedData = $app->encryptor->decryptData($data['session_key'], input('iv'), input('encryptedData'));
|
|
|
|
|
|
dump($decryptedData);die();
|
|
dump($decryptedData);die();
|
|
$user=Db::table('q_user')->where('openid',$data['openid'])->find();
|
|
$user=Db::table('q_user')->where('openid',$data['openid'])->find();
|