dever 5 лет назад
Родитель
Сommit
3325d6650f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Applet.php

+ 1 - 1
src/Applet.php

@@ -34,7 +34,7 @@ class Applet extends Base
             $data = array();
             if ($info) {
                 //$user = Dever::db('passport/user')->one($uid);
-                $data = $this->getSign($info['uid'], $info['vid']);
+                $data = $this->getSign($info['uid'], $info['id']);
             }
         } elseif ($create == 2) {
             # 未授权,会生成临时用户,针对有的项目,不需要授权,但是还要生成用户