dever 6 年之前
父节点
当前提交
e843e6a19a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      buy/src/Buy.php
  2. 1 1
      buy/src/Data.php

+ 1 - 1
buy/src/Buy.php

@@ -10,7 +10,7 @@ class Buy extends Base
         parent::__construct();
 
         if (!$this->user) {
-            //return $this->location('home');
+            return $this->location('home');
         }
     }
     

+ 1 - 1
buy/src/Data.php

@@ -12,7 +12,7 @@ class Data extends Base
 
     public function checkLogin()
     {
-        return $this->location('list');
+        //return $this->location('list');
         if ($this->user) {
             return $this->location('list');
         }