ZxcZxc123 2 年之前
父節點
當前提交
6f0e6f613a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/api/controller/Education.php

+ 2 - 0
app/api/controller/Education.php

@@ -18,6 +18,8 @@ class Education
         $type1 = input("type1", "");
         if ($type1 !== "") {
             $where["type1"] = $type1;
+        } else {
+            $type1 = 2;
         }
 
         if ($type1 == 0) {