dever 5 år sedan
förälder
incheckning
583ef2a434
1 ändrade filer med 2 tillägg och 3 borttagningar
  1. 2 3
      src/Applet.php

+ 2 - 3
src/Applet.php

@@ -51,6 +51,7 @@ class Applet extends Base
      */
     public function login()
     {
+        $data = array();
         $data = $this->getLoginInfo();
 
         $data += $this->getWechatData($data['session_key']);
@@ -162,13 +163,11 @@ class Applet extends Base
             }
         }
 
-        /*
         $result['vid'] = $vid;
         $result['uid'] = $uid;
         $result['signature'] = Dever::login($uid);
-        */
 
-        $result = $this->getSign($uid, $vid);
+        //$result = $this->getSign($uid, $vid);
 
         if (isset($update['mobile']) && $update['mobile']) {
             $result['mobile'] = $update['mobile'];