dever 5 年之前
父节点
当前提交
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) {
             # 未授权,会生成临时用户,针对有的项目,不需要授权,但是还要生成用户