From 83e8427c8bd5519f80fd152f6da1208eaf284754 Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Fri, 15 Nov 2019 10:18:36 +0800 Subject: [PATCH 01/16] cs --- Application/Admin/Controller/device_data_foldline.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/device_data_foldline.txt b/Application/Admin/Controller/device_data_foldline.txt index 3506b5f47..480ca25d3 100644 --- a/Application/Admin/Controller/device_data_foldline.txt +++ b/Application/Admin/Controller/device_data_foldline.txt @@ -1 +1 @@ -{"average":{"news":0,"active":0},"sum":{"news":0,"active":0},"news":[{"time":"2019-10-30 00:00","count":0,"version":"ios"},{"time":"2019-10-30 01:00","count":0,"version":"ios"},{"time":"2019-10-30 02:00","count":0,"version":"ios"},{"time":"2019-10-30 03:00","count":0,"version":"ios"},{"time":"2019-10-30 04:00","count":0,"version":"ios"},{"time":"2019-10-30 05:00","count":0,"version":"ios"},{"time":"2019-10-30 06:00","count":0,"version":"ios"},{"time":"2019-10-30 07:00","count":0,"version":"ios"},{"time":"2019-10-30 08:00","count":0,"version":"ios"},{"time":"2019-10-30 09:00","count":0,"version":"ios"},{"time":"2019-10-30 10:00","count":0,"version":"ios"},{"time":"2019-10-30 11:00","count":0,"version":"ios"},{"time":"2019-10-30 12:00","count":0,"version":"ios"},{"time":"2019-10-30 13:00","count":0,"version":"ios"},{"time":"2019-10-30 14:00","count":0,"version":"ios"},{"time":"2019-10-30 15:00","count":0,"version":"ios"},{"time":"2019-10-30 16:00","count":0,"version":"ios"},{"time":"2019-10-30 17:00","count":0,"version":"ios"},{"time":"2019-10-30 18:00","count":0,"version":"ios"},{"time":"2019-10-30 19:00","count":0,"version":"ios"},{"time":"2019-10-30 20:00","count":0,"version":"ios"},{"time":"2019-10-30 21:00","count":0,"version":"ios"},{"time":"2019-10-30 22:00","count":0,"version":"ios"},{"time":"2019-10-30 23:00","count":0,"version":"ios"},{"time":"2019-10-30 00:00","count":0,"version":"android"},{"time":"2019-10-30 01:00","count":0,"version":"android"},{"time":"2019-10-30 02:00","count":0,"version":"android"},{"time":"2019-10-30 03:00","count":0,"version":"android"},{"time":"2019-10-30 04:00","count":0,"version":"android"},{"time":"2019-10-30 05:00","count":0,"version":"android"},{"time":"2019-10-30 06:00","count":0,"version":"android"},{"time":"2019-10-30 07:00","count":0,"version":"android"},{"time":"2019-10-30 08:00","count":0,"version":"android"},{"time":"2019-10-30 09:00","count":0,"version":"android"},{"time":"2019-10-30 10:00","count":0,"version":"android"},{"time":"2019-10-30 11:00","count":0,"version":"android"},{"time":"2019-10-30 12:00","count":0,"version":"android"},{"time":"2019-10-30 13:00","count":0,"version":"android"},{"time":"2019-10-30 14:00","count":0,"version":"android"},{"time":"2019-10-30 15:00","count":0,"version":"android"},{"time":"2019-10-30 16:00","count":0,"version":"android"},{"time":"2019-10-30 17:00","count":0,"version":"android"},{"time":"2019-10-30 18:00","count":0,"version":"android"},{"time":"2019-10-30 19:00","count":0,"version":"android"},{"time":"2019-10-30 20:00","count":0,"version":"android"},{"time":"2019-10-30 21:00","count":0,"version":"android"},{"time":"2019-10-30 22:00","count":0,"version":"android"},{"time":"2019-10-30 23:00","count":0,"version":"android"}],"active":[{"time":"2019-10-30 00:00","count":0,"version":"ios"},{"time":"2019-10-30 01:00","count":0,"version":"ios"},{"time":"2019-10-30 02:00","count":0,"version":"ios"},{"time":"2019-10-30 03:00","count":0,"version":"ios"},{"time":"2019-10-30 04:00","count":0,"version":"ios"},{"time":"2019-10-30 05:00","count":0,"version":"ios"},{"time":"2019-10-30 06:00","count":0,"version":"ios"},{"time":"2019-10-30 07:00","count":0,"version":"ios"},{"time":"2019-10-30 08:00","count":0,"version":"ios"},{"time":"2019-10-30 09:00","count":0,"version":"ios"},{"time":"2019-10-30 10:00","count":0,"version":"ios"},{"time":"2019-10-30 11:00","count":0,"version":"ios"},{"time":"2019-10-30 12:00","count":0,"version":"ios"},{"time":"2019-10-30 13:00","count":0,"version":"ios"},{"time":"2019-10-30 14:00","count":0,"version":"ios"},{"time":"2019-10-30 15:00","count":0,"version":"ios"},{"time":"2019-10-30 16:00","count":0,"version":"ios"},{"time":"2019-10-30 17:00","count":0,"version":"ios"},{"time":"2019-10-30 18:00","count":0,"version":"ios"},{"time":"2019-10-30 19:00","count":0,"version":"ios"},{"time":"2019-10-30 20:00","count":0,"version":"ios"},{"time":"2019-10-30 21:00","count":0,"version":"ios"},{"time":"2019-10-30 22:00","count":0,"version":"ios"},{"time":"2019-10-30 23:00","count":0,"version":"ios"},{"time":"2019-10-30 00:00","count":0,"version":"android"},{"time":"2019-10-30 01:00","count":0,"version":"android"},{"time":"2019-10-30 02:00","count":0,"version":"android"},{"time":"2019-10-30 03:00","count":0,"version":"android"},{"time":"2019-10-30 04:00","count":0,"version":"android"},{"time":"2019-10-30 05:00","count":0,"version":"android"},{"time":"2019-10-30 06:00","count":0,"version":"android"},{"time":"2019-10-30 07:00","count":0,"version":"android"},{"time":"2019-10-30 08:00","count":0,"version":"android"},{"time":"2019-10-30 09:00","count":0,"version":"android"},{"time":"2019-10-30 10:00","count":0,"version":"android"},{"time":"2019-10-30 11:00","count":0,"version":"android"},{"time":"2019-10-30 12:00","count":0,"version":"android"},{"time":"2019-10-30 13:00","count":0,"version":"android"},{"time":"2019-10-30 14:00","count":0,"version":"android"},{"time":"2019-10-30 15:00","count":0,"version":"android"},{"time":"2019-10-30 16:00","count":0,"version":"android"},{"time":"2019-10-30 17:00","count":0,"version":"android"},{"time":"2019-10-30 18:00","count":0,"version":"android"},{"time":"2019-10-30 19:00","count":0,"version":"android"},{"time":"2019-10-30 20:00","count":0,"version":"android"},{"time":"2019-10-30 21:00","count":0,"version":"android"},{"time":"2019-10-30 22:00","count":0,"version":"android"},{"time":"2019-10-30 23:00","count":0,"version":"android"}]} \ No newline at end of file +{"average":{"news":0,"active":0},"sum":{"news":0,"active":0},"news":[{"time":"2019-11-11 00:00","count":0,"version":"ios"},{"time":"2019-11-11 01:00","count":0,"version":"ios"},{"time":"2019-11-11 02:00","count":0,"version":"ios"},{"time":"2019-11-11 03:00","count":0,"version":"ios"},{"time":"2019-11-11 04:00","count":0,"version":"ios"},{"time":"2019-11-11 05:00","count":0,"version":"ios"},{"time":"2019-11-11 06:00","count":0,"version":"ios"},{"time":"2019-11-11 07:00","count":0,"version":"ios"},{"time":"2019-11-11 08:00","count":0,"version":"ios"},{"time":"2019-11-11 09:00","count":0,"version":"ios"},{"time":"2019-11-11 10:00","count":0,"version":"ios"},{"time":"2019-11-11 11:00","count":0,"version":"ios"},{"time":"2019-11-11 12:00","count":0,"version":"ios"},{"time":"2019-11-11 13:00","count":0,"version":"ios"},{"time":"2019-11-11 14:00","count":0,"version":"ios"},{"time":"2019-11-11 15:00","count":0,"version":"ios"},{"time":"2019-11-11 16:00","count":0,"version":"ios"},{"time":"2019-11-11 17:00","count":0,"version":"ios"},{"time":"2019-11-11 18:00","count":0,"version":"ios"},{"time":"2019-11-11 19:00","count":0,"version":"ios"},{"time":"2019-11-11 20:00","count":0,"version":"ios"},{"time":"2019-11-11 21:00","count":0,"version":"ios"},{"time":"2019-11-11 22:00","count":0,"version":"ios"},{"time":"2019-11-11 23:00","count":0,"version":"ios"},{"time":"2019-11-11 00:00","count":0,"version":"android"},{"time":"2019-11-11 01:00","count":0,"version":"android"},{"time":"2019-11-11 02:00","count":0,"version":"android"},{"time":"2019-11-11 03:00","count":0,"version":"android"},{"time":"2019-11-11 04:00","count":0,"version":"android"},{"time":"2019-11-11 05:00","count":0,"version":"android"},{"time":"2019-11-11 06:00","count":0,"version":"android"},{"time":"2019-11-11 07:00","count":0,"version":"android"},{"time":"2019-11-11 08:00","count":0,"version":"android"},{"time":"2019-11-11 09:00","count":0,"version":"android"},{"time":"2019-11-11 10:00","count":0,"version":"android"},{"time":"2019-11-11 11:00","count":0,"version":"android"},{"time":"2019-11-11 12:00","count":0,"version":"android"},{"time":"2019-11-11 13:00","count":0,"version":"android"},{"time":"2019-11-11 14:00","count":0,"version":"android"},{"time":"2019-11-11 15:00","count":0,"version":"android"},{"time":"2019-11-11 16:00","count":0,"version":"android"},{"time":"2019-11-11 17:00","count":0,"version":"android"},{"time":"2019-11-11 18:00","count":0,"version":"android"},{"time":"2019-11-11 19:00","count":0,"version":"android"},{"time":"2019-11-11 20:00","count":0,"version":"android"},{"time":"2019-11-11 21:00","count":0,"version":"android"},{"time":"2019-11-11 22:00","count":0,"version":"android"},{"time":"2019-11-11 23:00","count":0,"version":"android"}],"active":[{"time":"2019-11-11 00:00","count":0,"version":"ios"},{"time":"2019-11-11 01:00","count":0,"version":"ios"},{"time":"2019-11-11 02:00","count":0,"version":"ios"},{"time":"2019-11-11 03:00","count":0,"version":"ios"},{"time":"2019-11-11 04:00","count":0,"version":"ios"},{"time":"2019-11-11 05:00","count":0,"version":"ios"},{"time":"2019-11-11 06:00","count":0,"version":"ios"},{"time":"2019-11-11 07:00","count":0,"version":"ios"},{"time":"2019-11-11 08:00","count":0,"version":"ios"},{"time":"2019-11-11 09:00","count":0,"version":"ios"},{"time":"2019-11-11 10:00","count":0,"version":"ios"},{"time":"2019-11-11 11:00","count":0,"version":"ios"},{"time":"2019-11-11 12:00","count":0,"version":"ios"},{"time":"2019-11-11 13:00","count":0,"version":"ios"},{"time":"2019-11-11 14:00","count":0,"version":"ios"},{"time":"2019-11-11 15:00","count":0,"version":"ios"},{"time":"2019-11-11 16:00","count":0,"version":"ios"},{"time":"2019-11-11 17:00","count":0,"version":"ios"},{"time":"2019-11-11 18:00","count":0,"version":"ios"},{"time":"2019-11-11 19:00","count":0,"version":"ios"},{"time":"2019-11-11 20:00","count":0,"version":"ios"},{"time":"2019-11-11 21:00","count":0,"version":"ios"},{"time":"2019-11-11 22:00","count":0,"version":"ios"},{"time":"2019-11-11 23:00","count":0,"version":"ios"},{"time":"2019-11-11 00:00","count":0,"version":"android"},{"time":"2019-11-11 01:00","count":0,"version":"android"},{"time":"2019-11-11 02:00","count":0,"version":"android"},{"time":"2019-11-11 03:00","count":0,"version":"android"},{"time":"2019-11-11 04:00","count":0,"version":"android"},{"time":"2019-11-11 05:00","count":0,"version":"android"},{"time":"2019-11-11 06:00","count":0,"version":"android"},{"time":"2019-11-11 07:00","count":0,"version":"android"},{"time":"2019-11-11 08:00","count":0,"version":"android"},{"time":"2019-11-11 09:00","count":0,"version":"android"},{"time":"2019-11-11 10:00","count":0,"version":"android"},{"time":"2019-11-11 11:00","count":0,"version":"android"},{"time":"2019-11-11 12:00","count":0,"version":"android"},{"time":"2019-11-11 13:00","count":0,"version":"android"},{"time":"2019-11-11 14:00","count":0,"version":"android"},{"time":"2019-11-11 15:00","count":0,"version":"android"},{"time":"2019-11-11 16:00","count":0,"version":"android"},{"time":"2019-11-11 17:00","count":0,"version":"android"},{"time":"2019-11-11 18:00","count":0,"version":"android"},{"time":"2019-11-11 19:00","count":0,"version":"android"},{"time":"2019-11-11 20:00","count":0,"version":"android"},{"time":"2019-11-11 21:00","count":0,"version":"android"},{"time":"2019-11-11 22:00","count":0,"version":"android"},{"time":"2019-11-11 23:00","count":0,"version":"android"}]} \ No newline at end of file From d55c4220a11147fb40b3480b689796c5fd3afd71 Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Fri, 15 Nov 2019 11:01:34 +0800 Subject: [PATCH 02/16] =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Controller/PromoteCoinController.class.php | 13 +++++++++++++ .../Home/View/default/PromoteCoin/transferLogs.html | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Application/Home/Controller/PromoteCoinController.class.php b/Application/Home/Controller/PromoteCoinController.class.php index 9c92f59e3..7c5250560 100644 --- a/Application/Home/Controller/PromoteCoinController.class.php +++ b/Application/Home/Controller/PromoteCoinController.class.php @@ -372,6 +372,19 @@ class PromoteCoinController extends BaseController $conditions['create_time'] = ['elt', strtotime($endTime. ' 23:59:59')]; } } + if($sn) { + $conditions['sn'] = $sn; + } + if($account) { + $map1['account'] = ['like','%'.$account.'%']; + $promotesRs = M('promote','tab_')->field('id')->where($map1)->select(); + $idArr = ""; + foreach ($promotesRs as $key => $value) { + $idArr .= intval($value['id']).','; + } + $idArr1 = rtrim($idArr,','); + $conditions['target_id'] = ['in',$idArr1]; + } $query = M('promote_coin_transfer_log', 'tab_')->where($conditions)->order('create_time desc'); list($logs, $pagination, $count) = $this->paginate($query); diff --git a/Application/Home/View/default/PromoteCoin/transferLogs.html b/Application/Home/View/default/PromoteCoin/transferLogs.html index 94611b9d1..2282a02c9 100644 --- a/Application/Home/View/default/PromoteCoin/transferLogs.html +++ b/Application/Home/View/default/PromoteCoin/transferLogs.html @@ -20,7 +20,7 @@