diff --git a/.env.example b/.env.example index 7d15724..21110f4 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,5 @@ [app] -app_name = false +app_name = PearProject app_version = 2.8.15 app_host = '' app_debug = false diff --git a/application/project/controller/Project.php b/application/project/controller/Project.php index 0cd1945..1d5115c 100644 --- a/application/project/controller/Project.php +++ b/application/project/controller/Project.php @@ -93,7 +93,7 @@ class Project extends BasicApi $newList[] = $item; } } - $this->success('', ['list' => $newList, 'total' => count($newList)]); + $this->success('', ['list' => $newList, 'total' => $list['total']]); } public function analysis(Request $request)