From 0a7096623b0890d5ac83ab65487e111dc037236e Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Thu, 28 Nov 2019 11:42:11 +0800 Subject: [PATCH 01/68] =?UTF-8?q?=E9=9A=90=E8=97=8F=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/DownloadController.class.php | 2 +- Application/Home/Controller/QueryController.class.php | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index 12e57fead..c3961f507 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -1767,12 +1767,12 @@ class DownloadController extends BaseController { $model = M('user','tab_'); $data = $model->field('account,device_number,promote_account,register_time,register_ip,login_time,login_ip')->where($map)->order('tab_user.id desc')->select(); - //var_dump($data); $xlsData = []; foreach ($data as $key1 => $value1) { $value1['register_time'] = date("Y-m-d H:i:s",$value1['register_time']); $value1['login_time'] = date("Y-m-d H:i:s",$value1['login_time']); $value1['account'] = $this->encryption($value1['account']); + $value1['device_number'] = $this->encryption($value1['device_number']); $xlsData[] = $value1; } $this->exportExcel($xlsName, $xlsCell, $xlsData,$id); diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index bfa3f4c86..d751d4150 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -20,11 +20,6 @@ class QueryController extends BaseController 0 => '平台币', 1 => '支付宝', 2 => '微信', - 5 => '聚宝云', - 6 => '竣付通', - 7 => '苹果支付', - 8 => '金猪支付', - 9 => '双乾支付', ]; public function recharge($p = 0) @@ -258,6 +253,10 @@ class QueryController extends BaseController $list['new_login_time'] = date('Y-m-d H:i:s', $newLoginData['login_time']); $list['new_login_ip'] = $newLoginData['login_ip']; $list['account'] = substr($list['account'], 0, 2) . '******' . substr($list['account'], 8); + if(!empty($list['device_number'])) { + $list['device_number'] = encryption($list['device_number']); + } + } } From dd22e6d0e98babb739b4aaa3cf8e5dd0e732cb62 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Thu, 28 Nov 2019 14:24:14 +0800 Subject: [PATCH 02/68] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A1=A5=E9=93=BEin/ou?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/MendController.class.php | 5 ++++- Application/Admin/View/Mend/shiftInfo.html | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Application/Admin/Controller/MendController.class.php b/Application/Admin/Controller/MendController.class.php index a1d9bc50f..fdadcef2e 100644 --- a/Application/Admin/Controller/MendController.class.php +++ b/Application/Admin/Controller/MendController.class.php @@ -111,13 +111,16 @@ class MendController extends ThinkController { { $id = I('id'); $info = M("shift_task")->where("id = {$id} and status = 0")->find(); + if(empty($info)){ $this->error("补链不存在或已处理"); } $info['user_id'] = json_decode($info['shift_ids'])[0]; - $info['order_time'] = date("Y-m-d",$info['order_time']); + $info['order_time'] = date("Y-m-d",$info['order_time']); + $userid = $info['user_id']; + $info['account'] = M("User","tab_")->field("account")->where("id = '{$userid}'")->find()['account']; $this->assign('data',$info); $this->display(); } diff --git a/Application/Admin/View/Mend/shiftInfo.html b/Application/Admin/View/Mend/shiftInfo.html index dd6f0f9a8..768d1bd5c 100644 --- a/Application/Admin/View/Mend/shiftInfo.html +++ b/Application/Admin/View/Mend/shiftInfo.html @@ -57,7 +57,7 @@