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 ' + + '; + + + + + + + +