|
@@ -349,6 +349,10 @@ class Applet extends Base
|
|
|
|
|
|
private function getLoginInfo()
|
|
|
{
|
|
|
+ $session_key = Dever::input('session_key');
|
|
|
+ if ($session_key) {
|
|
|
+ return array('session_key' => $session_key, 'openid' => $openid);
|
|
|
+ }
|
|
|
$applet = $this->getApplet();
|
|
|
$appid = $applet['appid'];
|
|
|
$secret = $applet['secret'];
|