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) {
             # 未授权,会生成临时用户,针对有的项目,不需要授权,但是还要生成用户