|
@@ -40,13 +40,7 @@ class EducationModel extends Model
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- $data = array_values($tree);
|
|
|
|
|
-
|
|
|
|
|
- return \think\Response\Json::create([
|
|
|
|
|
- 'code' => 0,
|
|
|
|
|
- 'msg' => 'success',
|
|
|
|
|
- 'data' => $data,
|
|
|
|
|
- ]);
|
|
|
|
|
|
|
+ return array_values($tree);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// public function getGrList($userId)
|
|
// public function getGrList($userId)
|