From f392ad4de081028d7b538fb41529229210001066 Mon Sep 17 00:00:00 2001 From: zhanglingsheng Date: Tue, 10 Dec 2019 16:19:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E5=85=85=E5=80=BC=E8=A1=8C?= =?UTF-8?q?=E4=B8=BA=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BehaviorLogController.class.php | 70 +++ Application/Admin/View/BehaviorLog/index.html | 464 ++++++++++++++++++ 2 files changed, 534 insertions(+) create mode 100644 Application/Admin/Controller/BehaviorLogController.class.php create mode 100644 Application/Admin/View/BehaviorLog/index.html diff --git a/Application/Admin/Controller/BehaviorLogController.class.php b/Application/Admin/Controller/BehaviorLogController.class.php new file mode 100644 index 000000000..1ceafba57 --- /dev/null +++ b/Application/Admin/Controller/BehaviorLogController.class.php @@ -0,0 +1,70 @@ + $v) { + if (!in_array($k, $ignoreData)) { + $map[$k] = $v; + } + } + + $p = $params['p'] ? $params['p'] : 1; + $row = $params['row'] ? $params['row'] : 10; + + $startDate = empty($params['timestart']) ? date('Y-m-d', strtotime('-6 day', time())) : $params['timestart']; + $endDate = empty($params['timeend']) ? date('Y-m-d') : $params['timeend']; + $startTime = strtotime($startDate); + $endTime = strtotime($endDate) + 86399; + $map['create_time'] = array('BETWEEN', [$startTime, $endTime]); + if (I('promote_id')) { + if ($promoteId == 0) { + $map['promote_id'] = 0; + } else { + $promoteMap['chain'] = ['like', "%/$promoteId/%"]; + $promoteIds = M('Promote', 'tab_')->where($promoteMap)->getField('id', true); + $map['promote_id'] = ['in', $promoteIds]; + } + } + $data = M('pay_info', 'tab_')->where($map)->order('id DESC')->page($p, $row)->select(); + $count = M('pay_info', 'tab_')->where($map)->count(); + $page = set_pagination($count, $row); + if ($page) { + $this->assign('_page', $page); + } + $this->assign('startDate', $startDate); + $this->assign('endDate', $endDate); + $this->assign('data', $data); + $this->display('index'); + } + +} diff --git a/Application/Admin/View/BehaviorLog/index.html b/Application/Admin/View/BehaviorLog/index.html new file mode 100644 index 000000000..0ee33fb7f --- /dev/null +++ b/Application/Admin/View/BehaviorLog/index.html @@ -0,0 +1,464 @@ + + + + + + + + + + + +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ + - +
+ + +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + - +
+
+ +
+ + +
+ 搜索 +
+
+ + +
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CP订单号充值时间玩家账号游戏名称游戏区服所属推广员角色ID角色名称订单金额
aOh! 暂时还没有内容!
{$vo.extend}{:set_show_time($vo['create_time'])}{$vo.user_account}{$vo.game_name}{$vo.server_name}{$vo.promote_account}{$vo.game_player_id}{$vo.game_player_name}{$vo.price}
+
+
+
+ + {$_page|default=''} +
+ + + +
+ + + + if(C('COLOR_STYLE')=='blue_color') echo ' + + '; + + + + + + + +