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']); + } + } }