dever hace 6 años
padre
commit
17bfd5bbf0
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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));
+        }
     }
     
     # 列表页