ZxcZxc123 2 năm trước cách đây
mục cha
commit
3921911c2c
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      app/system/controller/EducationController.php

+ 3 - 1
app/system/controller/EducationController.php

@@ -33,7 +33,9 @@ class EducationController
             }
         }
 
-        return json($tree);
+        $data = array_values($tree);
+        $msg = '获取分类成功';
+        return json(['msg' => $msg, 'data' => $data]);
     }