dever 6 years ago
parent
commit
bec06b8df8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/lib/Core.php

+ 2 - 2
main/lib/Core.php

@@ -12,14 +12,14 @@ class Core
     {
         # 获取用户信息
         if ($this->checkUser) {
-            //$this->data['uid'] = Dever::load('passport/applet')->check();
+            $this->data['uid'] = Dever::load('passport/applet')->check();
         } else {
             $this->data['uid'] = Dever::load('passport/applet')->check(false);
         }
         if ($this->data['uid'] < 0) {
             $this->data['uid'] = 0;
         }
-        $this->data['uid'] = 1;
+        //$this->data['uid'] = 1;
 
         # 获取基本配置
         $this->data['config'] = Dever::db('main/config')->one();