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) {