rabin 6 năm trước cách đây
mục cha
commit
2cbc953097
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      buy/src/Buy.php

+ 9 - 0
buy/src/Buy.php

@@ -8,6 +8,15 @@ class Buy extends Base
     public function __construct()
     {
         parent::__construct();
+
+        $test = Dever::input('test');
+        if ($test == 1) {
+            print_r($this->user);die;
+        }
+
+        if (!$this->user) {
+            return $this->location('home');
+        }
     }
     
     # 列表页