dever 6 年之前
父節點
當前提交
579c836880
共有 1 個文件被更改,包括 4 次插入8 次删除
  1. 4 8
      service/src/Data.php

+ 4 - 8
service/src/Data.php

@@ -73,14 +73,12 @@ class Data
         $this->data = Dever::load('passport/user')->data();
         $this->data = Dever::load('passport/user')->data();
         if (!$this->data) {
         if (!$this->data) {
             $url = Dever::url('home', 'service');
             $url = Dever::url('home', 'service');
-            //Dever::location($url);
-            //return;
+            Dever::location($url);
+            return;
         } else {
         } else {
             $this->data['uid'] = $this->data['id'];
             $this->data['uid'] = $this->data['id'];
         }
         }
 
 
-        $this->data['uid'] = 4;
-
         $type = 4;
         $type = 4;
 
 
         $scene = Dever::login($this->data['uid']) . ',' . $type . ',' . $id;
         $scene = Dever::login($this->data['uid']) . ',' . $type . ',' . $id;
@@ -137,14 +135,12 @@ class Data
         $this->data = Dever::load('passport/user')->data();
         $this->data = Dever::load('passport/user')->data();
         if (!$this->data) {
         if (!$this->data) {
             $url = Dever::url('home', 'service');
             $url = Dever::url('home', 'service');
-            //Dever::location($url);
-            //return;
+            Dever::location($url);
+            return;
         } else {
         } else {
             $this->data['uid'] = $this->data['id'];
             $this->data['uid'] = $this->data['id'];
         }
         }
 
 
-        $this->data['uid'] = 4;
-
         $buy_id = Dever::input('buy_id');
         $buy_id = Dever::input('buy_id');
         $journal_id = Dever::input('journal_id');
         $journal_id = Dever::input('journal_id');