@@ -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');
}
# 列表页