From df2919f44b54e8bbd9d28cac6028ee997c8bde0d Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Mon, 6 Jan 2020 18:38:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=8A=A0=E5=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/DownloadController.class.php | 3 ++- Application/Home/Controller/PlayersController.class.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index c29528030..6d36d1428 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -1918,7 +1918,7 @@ class DownloadController extends BaseController { } $csvData['extend'] = $this->encryption($v['extend']); $csvData['create_time'] = $v['create_time']; - $csvData['user_account'] = $v['user_account']; + $csvData['user_account'] = $this->encryption($v['user_account']); $csvData['game_name'] = $v['game_name']; $csvData['promote_id'] = $v['promote_id']; $csvData['server_name'] = $serverInfo['server_name']; @@ -2607,6 +2607,7 @@ class DownloadController extends BaseController { foreach ($data as $key => &$list) { $list['income'] = bcmul($list['pay_amount'], bcdiv($list['selle_ratio'], 100, 2), 2); $list['pay_time'] = date('Y-m-d H:i:s', $list['pay_time']); + $list['user_account'] = $this->encryption($list['user_account']); switch ($list['pay_way']) { case 2: case 3: diff --git a/Application/Home/Controller/PlayersController.class.php b/Application/Home/Controller/PlayersController.class.php index 3cf12243a..edb710fc6 100644 --- a/Application/Home/Controller/PlayersController.class.php +++ b/Application/Home/Controller/PlayersController.class.php @@ -89,6 +89,7 @@ class PlayersController extends BaseController { } $rs[$key]['extend'] = encryption($v['extend']); $rs[$key]['create_time'] = date('Y-m-d H:i:s',$v['create_time']); + $rs[$key]['user_account'] = encryption($rs[$key]['user_account']); $promoteInfo = M('promote','tab_')->field("account")->where(['id' => intval($v['promote_id'])])->find(); $rs[$key]['promote_id']= $promoteInfo['account'];