dever 6 年之前
父节点
当前提交
17bfd5bbf0
共有 1 个文件被更改,包括 4 次插入0 次删除
  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));
+        }
     }
     
     # 列表页