diff --git a/Application/Admin/Controller/DepositController.class.php b/Application/Admin/Controller/DepositController.class.php index 6378c79a0..b386cddb7 100644 --- a/Application/Admin/Controller/DepositController.class.php +++ b/Application/Admin/Controller/DepositController.class.php @@ -8,13 +8,13 @@ use User\Api\UserApi as UserApi; * @author 麦当苗儿 */ class DepositController extends ThinkController { - const model_name = 'Deposit'; + const model_name = 'Deposit'; public function lists(){ - if(isset($_REQUEST['user_account'])){ - $map['user_account']=array('like','%'.trim($_REQUEST['user_account']).'%'); - unset($_REQUEST['user_account']); - } + if(isset($_REQUEST['user_account'])){ + $map['user_account']=array('like','%'.trim($_REQUEST['user_account']).'%'); + unset($_REQUEST['user_account']); + } if(isset($_REQUEST['pay_order_number'])){ $map['pay_order_number']=array('like','%'.trim($_REQUEST['pay_order_number']).'%'); unset($_REQUEST['pay_order_number']); @@ -49,7 +49,7 @@ class DepositController extends ThinkController { unset($_REQUEST['promote_id']); unset($_REQUEST['promote_name']); } - if(isset($_REQUEST['time-start'])&&isset($_REQUEST['time-end'])){ + if(isset($_REQUEST['time-start'])&&isset($_REQUEST['time-end'])){ $map['create_time'] =array('BETWEEN',array(strtotime($_REQUEST['time-start']),strtotime($_REQUEST['time-end'])+24*60*60-1)); unset($_REQUEST['time-start']);unset($_REQUEST['time-end']); }elseif(isset($_REQUEST['time-start'])){ @@ -101,16 +101,16 @@ class DepositController extends ThinkController { $this->assign('ttotal',$ttotal); $this->assign('ytotal',$ytotal); - $this->m_title = '平台币充值'; - $this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Deposit/lists','status'=>1])->find()); - + $this->m_title = '平台币充值'; + $this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Deposit/lists','status'=>1])->find()); - parent::lists(self::model_name,$_GET["p"],$map); + $this->assign("is_admin",is_administrator()); + parent::lists(self::model_name,$_GET["p"],$map); } - public function send_lists(){ + public function send_lists(){ if(IS_POST){ $type = $_REQUEST['type']; $firstpay = A('Send','Event'); @@ -131,8 +131,8 @@ class DepositController extends ThinkController { $this->meta_title ="后台发放(玩家)"; - $this->m_title = '平台币发放(玩家)'; - $this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Deposit/send_lists','status'=>1])->find()); + $this->m_title = '平台币发放(玩家)'; + $this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Deposit/send_lists','status'=>1])->find()); $this->display(); } @@ -183,10 +183,10 @@ class DepositController extends ThinkController { unset($_REQUEST['op_id']); } - if(is_numeric($_REQUEST['status']) && ($_REQUEST['status']==0 || $_REQUEST['status']==1)) { - $map['status'] = $_REQUEST['status']; - unset($_REQUEST['status']); - } + if(is_numeric($_REQUEST['status']) && ($_REQUEST['status']==0 || $_REQUEST['status']==1)) { + $map['status'] = $_REQUEST['status']; + unset($_REQUEST['status']); + } $map1=$map; $map1['status']=1; @@ -209,8 +209,8 @@ class DepositController extends ThinkController { ); $user = A('User','Event'); - $this->m_title = '平台币发放(玩家)'; - $this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Deposit/send_lists','status'=>1])->find()); + $this->m_title = '平台币发放(玩家)'; + $this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Deposit/send_lists','status'=>1])->find()); $user->user_join_($model,$_GET['p']); @@ -222,7 +222,7 @@ class DepositController extends ThinkController { * @param $ids */ public function batch($ids=''){ - if ( empty($ids) ) { + if ( empty($ids) ) { $this->error('请选择要操作的数据!'); } $list=M("provide_user","tab_"); @@ -244,7 +244,7 @@ class DepositController extends ThinkController { } public function delprovide($ids=null){ - if ( empty($ids) ) { + if ( empty($ids) ) { $this->error('请选择要操作的数据!'); } $list=M("provide_user","tab_"); diff --git a/Application/Admin/View/Deposit/lists.html b/Application/Admin/View/Deposit/lists.html index 7fe8954f1..8fc244467 100644 --- a/Application/Admin/View/Deposit/lists.html +++ b/Application/Admin/View/Deposit/lists.html @@ -1,43 +1,43 @@ - - - + + + - + resize: none; + border-width: 1px; + border-style: solid; + border-color: #a7b5bc #ced9df #ced9df #a7b5bc; + box-shadow: 0px 3px 3px #F7F8F9 inset;height:35px; + height:28px;border-radius:3px;font-size:12px; + } + .select2-container--default .select2-selection--single .select2-selection__rendered { + line-height:35px; + line-height:28px; + } + .select2-container--default .select2-selection--single .select2-selection__arrow { + height:26px; + } + .select2-container--default .select2-search--dropdown .select2-search__field { + height:26px;line-height:26px;font-size:12px; + } + .select2-results__option[aria-selected] {font-size:12px;} + + - - + +
-
- +
+
下单未付款
- +
@@ -96,56 +96,73 @@ - 订单号 - 玩家账号 - 所属推广员 - - - 充值平台币 - - - 充值方式 - 充值ip - - - 充值时间 - - - 订单状态 + 订单号 + 玩家账号 + 所属推广员 + + + 充值平台币 + + + 充值方式 + 充值ip + + + 充值时间 + + + 订单状态 - aOh! 暂时还没有内容! - - - - {:$data['pay_order_number']} - {$data.user_account} - 官方渠道{$data.promote_account} - {$data.pay_amount} - {:get_pay_way($data['pay_way'])} - {$data.pay_ip} - {:set_show_time($data['create_time'],'','pay')} - - - {:get_info_status($data['pay_status'],9)} - - {:get_info_status($data['pay_status'],9)} - - - - + aOh! 暂时还没有内容! + + + + {:$data['pay_order_number']} + + + {$data.user_account} + + {$data.user_account|encryptStr} + + + + + 官方渠道 + + + {$data.promote_account} + + {$data.promote_account|encryptStr} + + + + + {$data.pay_amount} + {:get_pay_way($data['pay_way'])} + {$data.pay_ip} + {:set_show_time($data['create_time'],'','pay')} + + + {:get_info_status($data['pay_status'],9)} + + {:get_info_status($data['pay_status'],9)} + + + + - 汇总 - - 当页充值:{:array_sum(array_column(array_status2value('pay_status','',$list_data),'pay_amount'))}; - 今日充值:{$ttotal} ; - 昨日充值:{$ytotal} ; - 累计充值:{$total}元(此处只汇总充值成功的订单) + 汇总 + + 当页充值:{:array_sum(array_column(array_status2value('pay_status','',$list_data),'pay_amount'))}; + 今日充值:{$ttotal} ; + 昨日充值:{$ytotal} ; + 累计充值:{$total}元(此处只汇总充值成功的订单) @@ -153,19 +170,19 @@
- 导出 + 导出 {$_page|default=''}
- - + + @@ -180,10 +197,10 @@ diff --git a/Application/Admin/View/Promote/lists.html b/Application/Admin/View/Promote/lists.html index d0a2938c4..2fb1f517d 100644 --- a/Application/Admin/View/Promote/lists.html +++ b/Application/Admin/View/Promote/lists.html @@ -224,7 +224,13 @@ {:set_show_time($data['create_time'])} {:set_show_time($data['last_login_time'])} {:get_promote_levels($data['id'])} - {:getTopPromote($data['id'])['account']} + + + {:getTopPromote($data['id'])['account']} + + {:encryptStr(getTopPromote($data['id'])['account'])} + + {:get_business_affairs_account($data['ba_id'])} {:get_info_status($data['status'],3)}