|
@@ -12,14 +12,14 @@ class Core
|
|
|
{
|
|
|
|
|
|
if ($this->checkUser) {
|
|
|
-
|
|
|
+ $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['config'] = Dever::db('main/config')->one();
|