From 882041495ebd1695bd5f351d9ea7026d79e4224e Mon Sep 17 00:00:00 2001 From: zyx Date: Mon, 28 Oct 2019 17:24:32 +0800 Subject: [PATCH 1/2] =?UTF-8?q?git=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/FinanceController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/FinanceController.class.php b/Application/Admin/Controller/FinanceController.class.php index aab2dca22..1ab4daed1 100644 --- a/Application/Admin/Controller/FinanceController.class.php +++ b/Application/Admin/Controller/FinanceController.class.php @@ -204,12 +204,13 @@ class FinanceController extends ThinkController $return = '未知'; break; } - echo 1; + return $return; } public function nee() { + echo 2; # code... } From abeb6acde974b736aeff68ceed186a17bf164cd0 Mon Sep 17 00:00:00 2001 From: zyx Date: Mon, 28 Oct 2019 17:25:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?git=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/FinanceController.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Application/Admin/Controller/FinanceController.class.php b/Application/Admin/Controller/FinanceController.class.php index 12badb02a..1ab4daed1 100644 --- a/Application/Admin/Controller/FinanceController.class.php +++ b/Application/Admin/Controller/FinanceController.class.php @@ -211,7 +211,6 @@ class FinanceController extends ThinkController public function nee() { echo 2; - echo "1"; # code... }