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