successful($list); } public function organ($id) { $info = OrganModel::where('is_del', 0)->find($id)->toArray(); return app('json')->successful($info); } public function list(Request $request) { $where = UtilService::getMore([ [['page', 'd'], 1], [['limit', 'd'], 15], ['area', ''] ], $request); $list = CourseModel::systemPage($where); return app('json')->successful($list); } public function detail($id) { $info = CourseModel::where('is_del', 0)->find($id)->toArray(); return app('json')->successful($info); } }