dever 7 năm trước cách đây
mục cha
commit
17bfd5bbf0
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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));
+        }
     }
     
     # 列表页