From 3a41f775357634c55453318b1bd9558079aa3484 Mon Sep 17 00:00:00 2001 From: liweisen Date: Sat, 9 May 2020 17:57:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0.env=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 2 +- application/project/controller/Project.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)