diff --git a/app/Http/Controllers/Admin/OtherController.php b/app/Http/Controllers/Admin/OtherController.php index 0e9e497..3e54712 100755 --- a/app/Http/Controllers/Admin/OtherController.php +++ b/app/Http/Controllers/Admin/OtherController.php @@ -181,7 +181,9 @@ class OtherController extends CommonController ->distinct() ->count(); } - return $this->success(compact('list', 'courseTypesSum', 'areas')); + // 返回所有sql语句 + $sql = DB::getQueryLog(); + return $this->success(compact('list', 'courseTypesSum', 'areas', 'sql')); } /**