dever 6 years ago
parent
commit
17bfd5bbf0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      service/src/Buy.php

+ 4 - 0
service/src/Buy.php

@@ -12,6 +12,10 @@ class Buy extends Base
     	if (!$this->user) {
     		return $this->location('home');
     	}
+
+        if ($this->type == 1) {
+            return $this->location('list', array('type' => 2));
+        }
     }
     
     # 列表页