From 63dc4a15d8d78052251d519458f135e39dbe98bb Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Fri, 22 Nov 2019 15:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E7=8A=B6=E6=80=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/DownloadController.class.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index 1a464a126..d1c70c4c4 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -2123,6 +2123,11 @@ class DownloadController extends BaseController { foreach ($data as $key => $value) { $value['create_time'] = date("Y-m-d H:i:s", $value['create_time']); $value['user_account'] = $this->encryption($value['user_account']); + if($value['check_status'] == 1) { + $value['check_status'] = "正常"; + }else { + $value['check_status'] = "拉黑"; + } //获取累计发放 $where = array( "user_id"=>$value['user_id'], @@ -2205,9 +2210,9 @@ class DownloadController extends BaseController { $data[$key]['create_time'] = date('Y-m-d H:m:i',$value['create_time']); $data[$key]['user_account'] = $this->encryption($value['user_account']); if($value['check_status'] == 1) { - $data[$key]['check_status'] = "冻结"; - }else { $data[$key]['check_status'] = "启用"; + }else { + $data[$key]['check_status'] = "冻结"; } } $xlsData = $data;