管理后台导出权限添加

master
zhengyongxing 5 years ago
parent 2413555cac
commit 001e9e70f8

@ -28,6 +28,9 @@ class ActionController extends AdminController {
$model_id = get_document_field($value['model'],"name","id");
$list[$key]['model_id'] = $model_id ? $model_id : 0;
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('_list', $list);
$this->meta_title = '行为日志';

@ -639,9 +639,16 @@ class AdminController extends Controller {
*/
public function checkListOrCountAuthRestMap(&$map,$checkarr = false,$countfield = "rule_count_check"){
//验证count
if(IS_ROOT){
if(IS_ROOT){
$this->assign('role_export_check',true);
$this->assign($countfield,true);
}else{
$exportRule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME."_export_check");
// var_dump($this->checkRule($exportRule,array('in','1,2')));die();
$this->assign('role_export_check',$this->checkRule($exportRule,array('in','1,2')));
$countRule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME."_count_check");
$this->assign($countfield,$this->checkRule($countRule,array('in','1,2')));
//验证list

@ -43,6 +43,7 @@ class AmericaIpForbitController extends ThinkController
$setAppleInteriorBuyStatus = $appleInteriorBuyStatus?1:0;
$this->checkListOrCountAuthRestMap($map,[]);
$page = set_pagination($count, $row);

@ -94,6 +94,9 @@ class ApplyController extends ThinkController
if ($page) {
$this -> assign('_page', $page);
}
$this->checkListOrCountAuthRestMap($map,[]);
$this -> assign('list_data', $data);
$this -> meta_title = 'APP分包';
$this -> m_title = '游戏盒子APP分包';
@ -176,6 +179,9 @@ class ApplyController extends ThinkController
$listdata[$k]['launch_count'] = $launchmodel -> where(['apply_id' => $v['id']]) -> count();
}
$this->checkListOrCountAuthRestMap($map,[]);
$this -> assign('list_data', $listdata);
$this -> m_title = '游戏分包';
$this -> assign('commonset', M('Kuaijieicon') -> where(['url' => 'Apply/and_lists', 'status' => 1]) -> find());

@ -95,7 +95,8 @@ class AuthManagerController extends AdminController{
$this->assign( '_list', $list );
$this->assign( '_use_tip', true );
$this->meta_title = '权限管理';
$this->checkListOrCountAuthRestMap($map,[]);
$this->m_title = '角色权限';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'AuthManager/index','status'=>1])->find());

@ -77,6 +77,7 @@ class BehaviorLogController extends ThinkController
}
}
$this->checkListOrCountAuthRestMap($map,[]);
$count = M('pay_info', 'tab_')->where($map)->count();
$page = set_pagination($count, $row);
if ($page) {
@ -159,6 +160,7 @@ class BehaviorLogController extends ThinkController
} else {
$count = M('repair_pay', 'tab_')->where($map)->count();
}
$this->checkListOrCountAuthRestMap($map,[]);
$page = set_pagination($count, $row);
if ($page) {
$this->assign('_page', $page);

@ -47,6 +47,7 @@ class BindRechargeRecordController extends ThinkController{
// $map['id'] = array('lt',1);
// }
setPowerPromoteIds($map,'promote_id');
$this->checkListOrCountAuthRestMap($map,[]);
empty(I('pay_order_number')) || $map['pay_order_number'] = I('pay_order_number','');
$data = $model->getLists($map,"create_time desc",$p);

@ -25,6 +25,7 @@ class BusinessAffairsController extends ThinkController
$this->m_title = '商务专员';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'BusinessAffairs/lists','status'=>1])->find());
$this->checkListOrCountAuthRestMap($map,[]);
unset($_REQUEST['phone']);
parent::order_lists("BusinessAffairs", $_GET["p"], $map);
@ -258,7 +259,7 @@ class BusinessAffairsController extends ThinkController
$this->m_title = '商务专员汇总查询';
$this->meta_title = '汇总查询';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'BusinessAffairs/summaryQuery','status'=>1])->find());
$this->checkListOrCountAuthRestMap($map,[]);
$this->display();
}

@ -29,7 +29,7 @@ class DeductBindRecordController extends ThinkController {
$sum['yst_day'] = D($model_name)->where($map)->sum('quantity');
$sum['all_num'] = D($model_name)->where($extend)->sum('quantity');
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('sum',$sum);
$this->m_title = '绑币收回';

@ -128,7 +128,7 @@ class DepositController extends ThinkController {
// $this->meta_title = '平台币充值列表';
// $this->display('lists');die();
// }
$this->checkListOrCountAuthRestMap($map,[]);
$total=null_to_0(D(self::model_name)->where($map1)->sum('pay_amount'));
$ttotal=null_to_0(D(self::model_name)->where('create_time'.total(1))->where(array('pay_status'=>1))->sum('pay_amount'));
$ytotal=null_to_0(D(self::model_name)->where('create_time'.total(5))->where(array('pay_status'=>1))->sum('pay_amount'));

@ -40,7 +40,7 @@ class DevelopersController extends ThinkController {
'template_list' =>'lists',
'order'=>'id desc',
);
$this->checkListOrCountAuthRestMap($map,[]);
$this->m_title = '开发者列表';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Developers/lists','status'=>1])->find());

@ -70,6 +70,9 @@ class FinanceCompareController extends ThinkController
"create_time"=>"校验时间"
));
}
$this->checkListOrCountAuthRestMap($map,[]);
$page = set_pagination($count,$row);
if($page) {$this->assign('_page', $page);}
$this->assign('list_data',$listdata);

@ -749,6 +749,8 @@ class FinanceController extends ThinkController
$this->assign('_page', $page);//分页
}
$this->checkListOrCountAuthRestMap($map,[]);
//统计合计
$totalData = D("spend")->totalGameStatistics($map);
@ -886,6 +888,7 @@ class FinanceController extends ThinkController
$this->assign('sumAll', null_to_0($sumAll));
$count = D("spend")->getSpendData($map,'count(*) as count',$group,$order);
$this->checkListOrCountAuthRestMap($map,[]);
$count = $count[0]['count'];
$page = set_pagination($count,$row);
@ -1020,6 +1023,7 @@ class FinanceController extends ThinkController
$count = count($count);
$page = set_pagination($count,$row);
$this->checkListOrCountAuthRestMap($map,[]);
$total_cost = D('spend')->sumSpend($map, 'cost');//订单金额合计
$total_pay_amount = D('spend')->sumSpend($map, 'pay_amount');//实付金额合计
@ -1226,6 +1230,8 @@ class FinanceController extends ThinkController
,['支付方式','现金充值','平台币充值','合计']);
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('all_pay_amount', $all_pay_amount);
$this->assign('all_balance', $all_balance);
$this->assign('all_total', $all_total);
@ -1453,6 +1459,9 @@ class FinanceController extends ThinkController
// }
// }
$this->checkListOrCountAuthRestMap($map,[]);
$page = set_pagination($count,$row);
if($page) {$this->assign('_page', $page);}
if(empty($_REQUEST['timestart']) && empty($_REQUEST['timeend']) && empty(I('user_account'))) {
@ -1534,6 +1543,9 @@ class FinanceController extends ThinkController
}else {
$fuhao = '';
}
$this->checkListOrCountAuthRestMap($map,[]);
$page = set_pagination($counts,$row);
if($page) {$this->assign('_page', $page);}
$this->assign('fuhao', $fuhao);

@ -172,6 +172,7 @@ class FinancePromoteController extends AdminController
$count['inside_cash_count'] = number_format($count['inside_cash_count'],2,'.','');
$count['all_count'] = number_format($count['all_count'],2,'.','');
$this->checkListOrCountAuthRestMap($map,[]);
//外团占比
$this->assign('outBelong',number_format($outBelong/$count['all_count']*100,2,'.',''));
@ -361,6 +362,9 @@ class FinancePromoteController extends AdminController
"allcount"=>"渠道游戏内充值合计"
));
}
$this->checkListOrCountAuthRestMap($map,[]);
$size = $row;
$data = array_slice($data, ($arraypage - 1) * $size, $size);
$this->assign('all_count', $allcount);
@ -485,6 +489,8 @@ class FinancePromoteController extends AdminController
));
}
$this->checkListOrCountAuthRestMap($map,[]);
$allData = self::gameStatisticsData($map);//列表总数
$count = count($allData);
$page = set_pagination($count, $row);
@ -611,6 +617,8 @@ class FinancePromoteController extends AdminController
$sumInside = $totalData['inside_cash_count'] ?? 0;
$sumAll = $sumCash + $sumBalance + $sumInside;
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('sumCash', $sumCash);
$this->assign('sumBalance', $sumBalance);
$this->assign('sumInside', $sumInside);
@ -783,6 +791,9 @@ class FinancePromoteController extends AdminController
data2csv($data,$title,$field);
}
$this->checkListOrCountAuthRestMap($map,[]);
$count = D("spend")->getSpendData($map,$field,$group,$order);
$count = count($count);
$page = set_pagination($count,$row);
@ -936,6 +947,7 @@ class FinancePromoteController extends AdminController
data2csv($senddata,"平台币内充明细",$field);
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('total_cost', $total_cost);
$page = set_pagination($count,$row);

@ -71,6 +71,8 @@ class GameController extends ThinkController
$this->assign('show_status', 1);
}
$this->checkListOrCountAuthRestMap($map,[]);
$extend['order'] = 'sort desc, id desc';
//$extend['for_show_pic_list']='icon';//列表显示图片
$this->m_title = '游戏列表';

@ -33,6 +33,9 @@ class GameSourceController extends ThinkController
$extend['develop_id'] = array('NEQ', 0);
break;
}
$this->checkListOrCountAuthRestMap($map,[]);
$this -> m_title = '原包管理';
$this -> assign('commonset', M('Kuaijieicon') -> where(['url' => 'GameSource/lists', 'status' => 1]) -> find());
parent ::lists(self::model_name, $_GET["p"], $extend);

@ -10,6 +10,9 @@ class GameTypeController extends ThinkController {
const model_name = 'GameType';
public function lists($p=1){
$this->checkListOrCountAuthRestMap($map,[]);
switch ($_GET['type']) {
case '':
case 1:

@ -63,7 +63,9 @@ class GiftbagController extends ThinkController {
$this->assign('show_status',1);
}
$extend['for_show_pic_list']='novice';
$this->checkListOrCountAuthRestMap($map,[]);
$this->m_title = '礼包列表';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Giftbag/lists','status'=>1])->find());
@ -92,7 +94,9 @@ class GiftbagController extends ThinkController {
unset($_REQUEST['sdk_version']);
}
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->m_title = '礼包领取记录';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Giftbag/record','status'=>1])->find());

@ -32,6 +32,8 @@ class LaunchController extends ThinkController {
$this->m_url = 'Launch/platform';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Merchandise/lists','status'=>1])->find());
$this->checkListOrCountAuthRestMap($map,[]);
$data = D(self::model_name)->lists($_GET['p'],$extend);
$this->assign('list_data',$data['data']);
@ -173,6 +175,8 @@ class LaunchController extends ThinkController {
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->meta_title = "投放数据列表";
$this->m_title = '投放数据';

@ -1119,6 +1119,7 @@ class MemberController extends ThinkController
if ($page) {
$this->assign('_page', $page);
}
$this->meta_title = '黑名单列表';
$this->display();
}

@ -11,6 +11,9 @@ use Base\Service\PromoteService as PromoteService;
class MendController extends ThinkController {
public $tempid = 0;
public function lists($p=1){
$this->checkListOrCountAuthRestMap($map,[]);
$this->m_title = '推广补链';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Mend/lists','status'=>1])->find());
$this->mendList();
@ -90,7 +93,9 @@ class MendController extends ThinkController {
));
die();
}
$this->checkListOrCountAuthRestMap($map,[]);
$count = M("Mend","tab_")->where($map)->count();
$this->assign('row_count',$count);
$this->assign('list_data', $data);

@ -32,7 +32,8 @@ class MerchandiseController extends ThinkController {
$this->m_title = '商品列表';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Merchandise/lists','status'=>1])->find());
$this->checkListOrCountAuthRestMap($map,[]);
parent::lists(self::model_name,$_GET['p'],$extend);
}

@ -28,7 +28,8 @@ class MsgController extends ThinkController{
$this->m_title = '站内通知';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Msg/lists','status'=>1])->find());
$this->checkListOrCountAuthRestMap($map,[]);
$this->display();
}

@ -49,6 +49,9 @@ class OrderController extends ThinkController
if (!empty($_REQUEST['keyword'])) {
$extend['game_name|title|server_name|small_account'] = array('like', '%' . $_REQUEST['keyword'] . '%');
}
$this->checkListOrCountAuthRestMap($map,[]);
$extend['admin_status'] = 0;
$this -> m_title = '订单列表';
$this -> meta_title = '订单列表';

@ -358,6 +358,7 @@ class PayChannelController extends ThinkController
"game_name"=>"产品名称","sdk_version"=>"设备名称","pay_amount"=>"游戏现金金额","platform_coin"=>"平台币直冲金额","test_coin"=>"测试金额","sum"=>"支付渠道内合计"));
}
$this->checkListOrCountAuthRestMap($map,[]);
$sumData['pay_amount'] = number_format($sumData['pay_amount'],2,'.','');
$sumData['platform_coin'] = number_format($sumData['platform_coin'],2,'.','');
@ -720,6 +721,9 @@ class PayChannelController extends ThinkController
$this->meta_title = "游戏订单查看";
$sumAllData['sum'] = number_format($sumAllData['bind_amount']+$sumAllData['platform_amount']+$sumAllData['pay_amount'],2,'.','');
// var_dump($sumAllData);die();
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('sumAllData',$sumAllData);
$this->assign('data',$data);
$this->display();
@ -1289,6 +1293,8 @@ class PayChannelController extends ThinkController
}
}
$this->checkListOrCountAuthRestMap($map,[]);
$page = set_pagination($count, $row);
if ($page) {
$this->assign('_page', $page);

@ -165,6 +165,8 @@ class PayChannelIntentionController extends AdminController
}
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('data',$data);
$this->display();
@ -492,6 +494,8 @@ class PayChannelIntentionController extends AdminController
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('data',$data);
$this->assign('sum',$sum);

@ -101,6 +101,9 @@ class PlatformController extends ThinkController
$pnum = ceil(count($data) / $size); //总页数ceil()函数用于求大于数字的最小整数
//用array_slice(array,offset,length) 函数在数组中根据条件取出一段值;array(数组),offset(元素的开始位置),length(组的长度)
$data = array_slice($data, ($arraypage - 1) * $size, $size);
$this->checkListOrCountAuthRestMap($map,[]);
$this->meta_title = '游戏注册统计列表';
$this->assign('list_data', $data);
$this->assign("is_admin",is_administrator());
@ -192,6 +195,8 @@ class PlatformController extends ThinkController
$this->assign('_page', $page);
}
$this->checkListOrCountAuthRestMap($map,[]);
$data = my_sort($data, $data_order_type, (int)$data_order);
$size = $row;//每页显示的记录数
$pnum = ceil(count($data) / $size); //总页数ceil()函数用于求大于数字的最小整数
@ -292,6 +297,9 @@ class PlatformController extends ThinkController
$pnum = ceil(count($data) / $size); //总页数ceil()函数用于求大于数字的最小整数
//用array_slice(array,offset,length) 函数在数组中根据条件取出一段值;array(数组),offset(元素的开始位置),length(组的长度)
$data = array_slice($data, ($arraypage - 1) * $size, $size);
$this->checkListOrCountAuthRestMap($map,[]);
$this->meta_title = '注册方式统计列表';
$this->assign('list_data', $data);
$this->assign('total', $total);
@ -386,6 +394,8 @@ class PlatformController extends ThinkController
$this->assign('_page', $page);
}
$this->checkListOrCountAuthRestMap($map,[]);
$data = my_sort($data, $data_order_type, (int)$data_order);
$size = $row;//每页显示的记录数
$pnum = ceil(count($data) / $size); //总页数ceil()函数用于求大于数字的最小整数
@ -578,6 +588,8 @@ class PlatformController extends ThinkController
$this->assign('_page', $page);
}
$this->checkListOrCountAuthRestMap($map,[]);
$data = my_sort($data, $data_order_type, (int)$data_order);
$size = $row;//每页显示的记录数
$pnum = ceil(count($data) / $size); //总页数ceil()函数用于求大于数字的最小整数
@ -783,6 +795,9 @@ class PlatformController extends ThinkController
"mounth"=>"本月充值",
));
}
$this->checkListOrCountAuthRestMap($map,[]);
$data = array_slice($data, ($arraypage - 1) * $size, $size);
$this->meta_title = '渠道充值统计列表';
$this->assign('list_data', $data);

@ -147,6 +147,8 @@ class PresidentDepositController extends ThinkController
}
}
$this->checkListOrCountAuthRestMap($map,[]);
$page = set_pagination($count, $row);
if($page) {
$this->assign('_page', $page);

@ -50,6 +50,7 @@ class PromoteCoinController extends ThinkController
$sum['all_num'] = D(self::model_name)->where($extend)->sum('num');
// echo D(self::model_name)->getLastSql();exit;
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('sum', $sum);
$this->m_title = '平台币发放(推广员)';
@ -91,7 +92,7 @@ class PromoteCoinController extends ThinkController
// $map['id'] = array('lt',1);
// }
setPowerPromoteIds($map,'promote_id');
$this->checkListOrCountAuthRestMap($map,[]);
$map['create_time'] = total(1, false);
$sum['to_day'] = D(self::model_name)->where($map)->sum('num');
@ -294,6 +295,8 @@ class PromoteCoinController extends ThinkController
$count = $pc->where($extend)->count();
$this->checkListOrCountAuthRestMap($map,[]);
$page = set_pagination($count, $row);
if ($page) {
$this->assign('_page', $page);

@ -18,6 +18,9 @@ class PromoteController extends ThinkController
public function lists($p=1)
{
$this->checkListOrCountAuthRestMap($map,[]);
$show_data_power = (is_administrator()|| session('user_auth')['show_data']);
$this->assign('show_data_power', $show_data_power);
switch ($_GET['type']) {
@ -738,6 +741,8 @@ class PromoteController extends ThinkController
$this->assign('ytotal', $ytotal);
$user = A('User', 'Event');
$this->checkListOrCountAuthRestMap($map,[]);
$this->m_title = '实时注册';
$this->assign('commonset', M('Kuaijieicon')->where(['url'=>'Promote/ch_reg_list','status'=>1])->find());
$show_data_power = (is_administrator()|| session('user_auth')['show_data']);
@ -883,6 +888,8 @@ class PromoteController extends ThinkController
$this->assign('ytotal', $ytotal);
$user = A('Spend', 'Event');
$this->checkListOrCountAuthRestMap($map,[]);
$this->m_title = '实时充值';
$this->assign('commonset', M('Kuaijieicon')->where(['url'=>'Promote/spend_list','status'=>1])->find());
$show_data_power = (is_administrator()|| session('user_auth')['show_data']);
@ -960,6 +967,8 @@ class PromoteController extends ThinkController
$this->assign('ttotal', $ttotal);
$this->assign('ytotal', $ytotal);
$this->checkListOrCountAuthRestMap($map,[]);
$this->m_title = '会长代充记录';
$this->assign('commonset', M('Kuaijieicon')->where(['url'=>'Promote/agent_list','status'=>1])->find());
$show_data_power = (is_administrator()|| session('user_auth')['show_data']);
@ -1286,7 +1295,7 @@ class PromoteController extends ThinkController
public function linkInfo() {
$link = $_REQUEST['link'];
$applyServe = new ApplyService();
$identifier = $applyServe->getPageIdentifier($link);
if (!$identifier) {

@ -219,6 +219,9 @@ class PromoteGameRatioController extends ThinkController
if($page) {
$this->assign('_page', $page);
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('companys', $companys);
$this->assign('gameTypeList', $gameTypelist);
$this->assign('group', $group);

@ -43,6 +43,7 @@ class PromoteWelfareController extends ThinkController {
break;
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign("show_status",$show_status);
$this->m_title = '折扣设置';

@ -62,6 +62,7 @@ class ProvideController extends ThinkController {
$ttotal=null_to_0(D(self::model_name)->where('create_time'.total(1))->where(array('status'=>1))->sum('amount'));
$ytotal=null_to_0(D(self::model_name)->where('create_time'.total(5))->where(array('status'=>1))->sum('amount'));
// $this->assign('dtotal',$dtotal);
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('total',$total);
$this->assign('ttotal',$ttotal);
$this->assign('ytotal',$ytotal);

@ -57,6 +57,8 @@ class QueryController extends ThinkController
$this->assign('show_data_power', $show_data_power);
$promoteId = I('promote_id', 0);
$this->checkListOrCountAuthRestMap($map,[]);
if ($group == 1) {
unset($settlementTypeList[WithdrawModel::SETTLEMENT_TYPE_OTHER]);
$time = I('time', '');
@ -568,6 +570,8 @@ class QueryController extends ThinkController
$this->m_title = '开发者结算';
$this->assign('commonset', M('Kuaijieicon')->where(['url' => 'Query/cpsettlement', 'status' => 1])->find());
$this->checkListOrCountAuthRestMap($map,[]);
if (isset($_REQUEST['timestart']) && $_REQUEST['timestart'] != '' && $_REQUEST['group'] == 1) {
$starttime = strtotime($_REQUEST['timestart']);
$endtime = strtotime($_REQUEST['timeend']) + 24 * 3600 - 1;
@ -1015,6 +1019,9 @@ class QueryController extends ThinkController
$ttotal = null_to_0(D('withdraw')->where('audit_time' . total(1))->where($map1)->sum('sum_money'));
$ytotal = null_to_0(D('withdraw')->where('audit_time' . total(5))->where($map1)->sum('sum_money'));
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('stotal', $total);
$this->assign('ttotal', $ttotal);
$this->assign('ytotal', $ytotal);
@ -1161,6 +1168,8 @@ class QueryController extends ThinkController
}
}
$this->checkListOrCountAuthRestMap($map,[]);
$map1 = array('status' => ['neq', -1]);
//为数据权限添加
setPowerPromoteIds($map1);

@ -13,7 +13,7 @@ class RebateController extends ThinkController {
*返利设置列表
*/
public function lists(){
$this->checkListOrCountAuthRestMap($map,[]);
switch ($_REQUEST['type']) {
case '':
case 1 :

@ -149,6 +149,9 @@ class RechargeSumController extends ThinkController
$this->exportSum($export_data);
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('meta_title', "充值汇总");
$this->assign('list_data', $data);
$this->assign('total', $total);

@ -24,7 +24,8 @@ class SelfbuiltController extends ThinkController {
$this->m_title = '自建官网';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Selfbuilt/index','status'=>1])->find());
$this->checkListOrCountAuthRestMap($map,[]);
parent::lists($this->model_name,$_GET["p"]);
}

@ -54,7 +54,9 @@ class ServerController extends ThinkController {
$extend['developers'] = array('NEQ',0);
$this->assign('show_status',1);
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->m_title = '区服列表';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'Server/lists','status'=>1])->find());

@ -49,7 +49,9 @@ class ServerNoticeController extends ThinkController {
$extend['developers'] = array('NEQ',0);
$this->assign('show_status',1);
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->m_title = '区服预告';
$this->assign('commonset',M('Kuaijieicon')->where(['url'=>'ServerNotice/lists','status'=>1])->find());

@ -49,6 +49,8 @@ class StatController extends ThinkController
$page = set_pagination($count,$row);
if($page) {$this->assign('_page', $page);}
$this->checkListOrCountAuthRestMap($map,[]);
$this->meta_title = '用户统计';
$this->assign('data',$data);
@ -216,6 +218,8 @@ class StatController extends ThinkController
$this->assign('error', $error);
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('data', $data);
$this->assign('order_type', $orderType);
$this->assign('order_column', $orderColumn);
@ -813,6 +817,9 @@ AND UNIX_TIMESTAMP(
$this->assign('userarpu_order',$data_order);
$this->assign('userarpu_order_type',$data_order_type);
}
$this->checkListOrCountAuthRestMap($map,[]);
$data=my_sort($data,$data_order_type,(int)$data_order,SORT_STRING);
$size=$row;//每页显示的记录数
$pnum = ceil(count($data) / $size); //总页数ceil()函数用于求大于数字的最小整数
@ -1519,6 +1526,8 @@ AND UNIX_TIMESTAMP(
// 折线图
$this->foldLineDiagram($_REQUEST['start'],$_REQUEST['end'],$_REQUEST['num']);
$this->checkListOrCountAuthRestMap($map,[]);
$this->display();
}

@ -76,6 +76,7 @@ class StatementMangementController extends ThinkController
$handleSumData[0] = 0;
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('sum',$handleSumData);
// dump($sumData);die();

@ -73,8 +73,8 @@ class StatisticsController extends ThinkController {
$this->assign('promotepay',$promote_data['pay']);
$this->assign('promote_chart', $promote_data['chart']);
$this->assign('promote_date_info',"统计[ ".date("Y/m/d",$promotedateinfo[2])." -- ".date("Y/m/d",$promoteyesterdaydate)." ]之间数据");
$this->checkListOrCountAuthRestMap($map,[]);
// 日历
R('Index/calendar');
@ -1128,6 +1128,9 @@ class StatisticsController extends ThinkController {
];
}
}
$this->checkListOrCountAuthRestMap($map,[]);
$count = ($end-$start)/86400;
$page = set_pagination($count,$row);
if($page) {$this->assign('_page', $page);}

@ -40,6 +40,8 @@ class SupportController extends ThinkController {
//分页
$page = set_pagination($count,$row);
if($page) {$this->assign('_page', $page);}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('list_data', $list);
$show_data_power = (is_administrator()|| session('user_auth')['show_data']);

@ -64,6 +64,8 @@ class TestOrderController extends ThinkController
$this->assign('_page', $page);//分页
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('datas', $order_list);
$this->assign('sum_order_amount', $sum_order_amount);
$this->assign('sum_pay_amount', $sum_pay_amount);

@ -46,6 +46,9 @@ class TestResourceController extends ThinkController
if ($page) {
$this->assign('_page', $page);
}
$this->checkListOrCountAuthRestMap($map,[]);
$show_data_power = (is_administrator()|| session('user_auth')['show_data']);
$this->assign('show_data_power', $show_data_power);
$this->assign('list_data', $list);

@ -88,6 +88,8 @@ class UserActionLogController extends AdminController
$this->assign('_page', $page);//分页
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('data',$data);
$this->display();
@ -266,6 +268,8 @@ class UserActionLogController extends AdminController
$this->assign('_page', $page);//分页
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('data',$data);
$this->display();

@ -39,6 +39,8 @@ class UserController extends AdminController
$list = $this->lists('Member', $map);
int_to_string($list);
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('_list', $list);
$this->meta_title = '管理员列表';
@ -507,6 +509,8 @@ class UserController extends AdminController
$this->assign('_page', $page);
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('list', $list);
$this->meta_title = '修改记录';

@ -57,6 +57,8 @@ class UserPayWhiteListController extends ThinkController
if($page) {$this->assign('_page', $page);}
}
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('data',$data);
$this->meta_title = '玩家支付限制白名单';

@ -44,6 +44,9 @@ class UserWithdrawController extends ThinkController {
$ttotal = null_to_0($wgc->where('create_time' . total(1))->where($map)->sum('coin'));
$mtotal = null_to_0($wgc->where('create_time' . total(3))->where($map)->sum('coin'));
$poundage = null_to_0($wgc->where($map)->sum('poundage'));
$this->checkListOrCountAuthRestMap($map,[]);
$this->assign('total', $total);
$this->assign('ttotal', $ttotal);
$this->assign('mtotal', $mtotal);

@ -58,6 +58,9 @@ class WorkOrderController extends ThinkController
$item['status_desc'] = $this->getOrderStatus($item['status']);
}
}
$this->checkListOrCountAuthRestMap($map,[]);
$page = set_pagination($count, $row);
if ($page) {
$this->assign('_page', $page);
@ -427,6 +430,9 @@ class WorkOrderController extends ThinkController
$order
limit {$limit}");
}
$this->checkListOrCountAuthRestMap($map,[]);
$page = set_pagination($count, $row);
if ($page) {
$this->assign('_page', $page);

@ -840,13 +840,21 @@ class SpendModel extends Model
*/
public function gameStatistics($map, $row = 0, $page = 1)
{
$noticeFailData = M("Spend s use index(game_time)","tab_")
->field("SUM(CASE WHEN pay_way > 0 THEN pay_amount ELSE 0 END) as notice_fail_count,game_id")
->where(['s.pay_status' => 1, 'pay_game_status' => 0])
->where($map)
->group('s.game_id')
->select(false);
$query = M("Spend s use index(game_time)","tab_")
->field("s.game_id,g.relation_game_name game_name,p.partner as partner_name, g.game_type_name,
SUM(CASE WHEN pay_way > 0 THEN pay_amount ELSE 0 END) as cash_count,
SUM(CASE WHEN pay_way = 0 THEN pay_amount ELSE 0 END) as balance_coin_count,
SUM(CASE WHEN pay_way = -1 THEN pay_amount ELSE 0 END) as inside_cash_count,g.sdk_version")
SUM(CASE WHEN pay_way = -1 THEN pay_amount ELSE 0 END) as inside_cash_count,g.sdk_version,a.notice_fail_count")
->join('LEFT JOIN tab_game as g ON s.game_id=g.id')
->join('LEFT JOIN tab_partner as p ON g.partner_id=p.id')
->join("LEFT JOIN ({$noticeFailData})a ON s.game_id = a.game_id")
->where(['s.pay_status' => 1, 'pay_game_status' => 1])
->where($map)
->group('s.game_id');

@ -50,7 +50,9 @@
</div>
<!-- 分页 -->
<div class="page">
<a class="sch-btn" href="{:U('Export/actionlog',array_merge(array('xlsname'=>'管理_行为日志'),I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/actionlog',array_merge(array('xlsname'=>'管理_行为日志'),I('get.')))}">导出</a>
</if>
{$_page}
</div>
<!-- /分页 -->

@ -310,7 +310,7 @@
</empty>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn export-btn"
href="{:U('AmericaIpForbit/export',array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<!-- <a class="sch-btn" href="{:U('Export/expUser',array_merge(['id'=>3,'xlsname'=>'玩家_玩家列表_'.(I('get.type')==2?'第三方玩家':'本站玩家')],I('get.')))}">导出</a> -->

@ -349,7 +349,7 @@
</empty>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/game_subpackage_list',array_merge(['xlsname'=>'推广员管理_游戏分包'.((I('type',1)==2)?'_IOS分包':'_安卓分包')],I('get.')))}">导出</a>
</if>
{$_page|default=''}

@ -145,7 +145,7 @@
</div>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true">
<a class="sch-btn" href="{:U('Export/app_subpackage_list',array_merge(['xlsname'=>'推广员管理_游戏盒子APP分包'.((I('type',1)==2)?'_IOSAPP':'_安卓APP')],I('get.')))}">导出</a>
</if>
{$_page|default=''}

@ -69,7 +69,9 @@
</div>
<div class="page">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/auth_manager',array_merge(array('xlsname'=>'管理_角色权限'),I('get.')))}">导出</a>
</if>
{$_page}
</div>

@ -187,7 +187,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>21,'xlsname'=>'游戏充值预下单'),I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>21,'xlsname'=>'游戏充值预下单'),I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -158,7 +158,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>25,'xlsname'=>'补单记录'),I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>25,'xlsname'=>'补单记录'),I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -184,7 +184,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/BindRechargeRecordExport',array_merge(I('get.'),['xlsname'=>'绑币订单_绑币充值']))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/BindRechargeRecordExport',array_merge(I('get.'),['xlsname'=>'绑币订单_绑币充值']))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -128,7 +128,9 @@
</div>
</div>
<div class="page">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/business_affairs_list',array_merge(['xlsname'=>'商务专员_商务专员'],I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -84,7 +84,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/deduct_bind_list',array_merge(['xlsname'=>'绑币订单_绑币收回'],I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/deduct_bind_list',array_merge(['xlsname'=>'绑币订单_绑币收回'],I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -217,7 +217,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>8,'xlsname'=>'平台币订单_平台币充值'),I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>8,'xlsname'=>'平台币订单_平台币充值'),I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -153,7 +153,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>17,'xlsname'=>'开发者_开发者列表'),I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>17,'xlsname'=>'开发者_开发者列表'),I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -52,8 +52,10 @@
<div class="input-list">
<a class="sch-btn" href="javascript:;" id="search" url="{:U('Finance/coinDetail','model='.$model['name'].'&row='.I('row'),false)}"
style="">搜索</a>
<if condition="$_GET['all'] neq 1">
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<if condition="$_GET['all'] neq 1">
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}">导出</a>
</if>
</if>
</div>
</div>

@ -114,7 +114,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>29,'xlsname'=>'平台币明细','timestart'=>$starttime,'timeend'=>$endtime),I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>29,'xlsname'=>'平台币明细','timestart'=>$starttime,'timeend'=>$endtime),I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -132,16 +132,18 @@
<a class="sch-btn" href="javascript:;" id="search" url="{:U('Finance/gameStatistics','model='.$model['name'].'&row='.I('row'),false)}"
style="width: 100px;border: #3C95C8 solid 1px;">搜索</a>
<!-- <a class="sch-btn" href="javascript:history.go(-1)" style="background:#fff;color: #000;border: #000 solid 1px;width: 100px">返回</a>-->
<a class="sch-btn" href="{:U('Export/exportGameStatistics',
array(
'timestart'=>$_GET['timestart'],
'timeend'=>$_GET['timeend'],
'sdk_type'=>$_GET['sdk_type'],
'game_name'=>$_GET['game_name'],
'game_id'=>$_REQUEST['game_id'],
'partner_id'=>$_REQUEST['partner_id'],
false))}"
style="width: 100px;border: #3C95C8 solid 1px;">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/exportGameStatistics',
array(
'timestart'=>$_GET['timestart'],
'timeend'=>$_GET['timeend'],
'sdk_type'=>$_GET['sdk_type'],
'game_name'=>$_GET['game_name'],
'game_id'=>$_REQUEST['game_id'],
'partner_id'=>$_REQUEST['partner_id'],
false))}"
style="width: 100px;border: #3C95C8 solid 1px;">导出</a>
</if>
</div>

@ -92,8 +92,10 @@
<a class="sch-btn" href="javascript:;" id="search" url="{:U('Finance/gameStatisticsDetail','model='.$model['name'].'&row='.I('row'),false)}"
style="">搜索</a>
<if condition="$_GET['all'] neq 1">
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<if condition="$_GET['all'] neq 1">
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}">导出</a>
</if>
</if>
</div>
</div>

@ -100,9 +100,11 @@
<a class="sch-btn" href="javascript:;" id="search" url="{:U('Finance/payTypeStatistics','model='.$model['name'].'&row='.I('row'),false)}"
style="width: 100px;border: #3C95C8 solid 1px;">搜索</a>
<!-- <a class="sch-btn" href="javascript:history.go(-1)" style="background:#fff;color: #000;border: #000 solid 1px;width: 100px">返回</a>-->
<a class="sch-btn" href="{:U('Finance/payTypeStatistics',
array_merge(array('export'=>'1'),I('get.')))}"
style="width: 100px;border: #3C95C8 solid 1px;">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Finance/payTypeStatistics',
array_merge(array('export'=>'1'),I('get.')))}"
style="width: 100px;border: #3C95C8 solid 1px;">导出</a>
</if>
</div>

@ -191,8 +191,10 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>28,'xlsname'=>'平台币统计','timestart'=>$starttime,'timeend'=>$endtime),I('get.')))}">导出</a>
{$_page|default=''}
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>28,'xlsname'=>'平台币统计','timestart'=>$starttime,'timeend'=>$endtime),I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>
<div class="common_settings">

@ -153,7 +153,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
</if>
{$_page|default=''}
</div>
</block>

@ -149,8 +149,10 @@
</div>
</div>
<div class="page">
<a class="sch-btn"
href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn"
href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
</if>
{$_page}
</div>


@ -241,7 +241,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
</if>
{$_page|default=''}
</div>
</block>

@ -223,7 +223,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
</if>
{$_page|default=''}
</div>
</block>

@ -269,8 +269,10 @@
</div>
</div>
<div class="page">
<a class="sch-btn"
href="{:U('FinancePromote/index',array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn"
href="{:U('FinancePromote/index',array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
</if>
{$_page|default=''}
</div>

@ -91,8 +91,10 @@
</div>
</div>
<div class="page">
<a class="sch-btn"
href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn"
href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
</if>
{$_page}
</div>


@ -238,8 +238,10 @@
</div>
</div>
<div class="page">
<a class="sch-btn"
href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn"
href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
</if>
{$_page|default=''}
</div>

@ -355,7 +355,9 @@ text-indent:0;
</if>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/game_list',array_merge(['xlsname'=>'游戏管理_游戏列表'.((I('type',1)==2)?'_开发者游戏':'_官方游戏')],I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/game_list',array_merge(['xlsname'=>'游戏管理_游戏列表'.((I('type',1)==2)?'_开发者游戏':'_官方游戏')],I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -160,7 +160,9 @@
</empty>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/game_source_list',array_merge(['xlsname'=>'游戏管理_原包管理'.((I('type',1)==2)?'_开发者原包':'_官方原包')],I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/game_source_list',array_merge(['xlsname'=>'游戏管理_原包管理'.((I('type',1)==2)?'_开发者原包':'_官方原包')],I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -155,7 +155,9 @@
</empty>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/game_type_list',array_merge(['xlsname'=>'游戏管理_游戏类型'.((I('type',1)==2)?'_运营状态':'_游戏类型')],I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/game_type_list',array_merge(['xlsname'=>'游戏管理_游戏类型'.((I('type',1)==2)?'_运营状态':'_游戏类型')],I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -244,7 +244,9 @@
</empty>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/giftbag_list',array_merge(['xlsname'=>'礼包管理_礼包列表'.((I('type',1)==2)?'_开发者礼包':'_官方礼包')],I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/giftbag_list',array_merge(['xlsname'=>'礼包管理_礼包列表'.((I('type',1)==2)?'_开发者礼包':'_官方礼包')],I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -98,7 +98,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>11,'xlsname'=>'礼包管理_领取记录',),I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/expUser',array_merge(array('id'=>11,'xlsname'=>'礼包管理_领取记录',),I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -250,7 +250,7 @@
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/launch_data',array(
'platform_id'=>I('get.platform_id'),
'promote_id'=>I('get.promote_id'),

@ -138,7 +138,7 @@
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/platform',array('name'=>I('request.name',''),'group'=>I('request.group',0),'promote_id'=>I('promote_id',''),'xlsname'=>'广告监测管理_投放平台列表_'.(I('request.group','')?'渠道添加':'后台录入')))}">导出</a>
</if>
{$_page|default=''}

@ -172,7 +172,7 @@
</div>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/login_record',array_merge(['xlsname'=>'玩家_登录记录'],I('get.')))}">导出</a>
</if>
{$_page|default=''}

@ -375,7 +375,7 @@
</div>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn export-btn"
href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<!-- <a class="sch-btn" href="{:U('Export/expUser',array_merge(['id'=>3,'xlsname'=>'玩家_玩家列表_'.(I('get.type')==2?'第三方玩家':'本站玩家')],I('get.')))}">导出</a> -->

@ -167,7 +167,7 @@
</empty>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<if condition="$Think.get.type eq 2">
<a class="sch-btn" href="{:U('Export/mend_record_list',array_merge(['xlsname'=>'推广员管理_推广补链_补链记录'],I('get.')))}">导出</a>
<else />

@ -124,7 +124,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Mend/recordList',array_merge(['export'=>1],I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Mend/recordList',array_merge(['export'=>1],I('get.')))}">导出</a>
</if>
<div id="pagebox">
{$_page|default=''}
</div>

@ -181,7 +181,9 @@ text-indent:0;
</div>
<div class="page">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/merchandise',array('account'=>I('account'),'timestart'=>I('timestart'),'timeend'=>I('timeend'),'game_id'=>I('game_id'),'status'=>I('status'),'keyword'=>I('keyword'),'title'=>I('title'),'xlsname'=>'商品中心_商品列表'))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -75,7 +75,9 @@
</div>
</div>
<div class="page">
<a class="sch-btn" href="{:U('Export/msg_lists',array_merge(array('xlsname'=>'管理_站内通知'),I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/msg_lists',array_merge(array('xlsname'=>'管理_站内通知'),I('get.')))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -167,7 +167,9 @@ text-indent:0;
</div>
<div class="page">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/order_list',array('order_number'=>I('order_number'),'timestart'=>I('timestart'),'timeend'=>I('timeend'),'game_id'=>I('game_id'),'pay_status'=>I('pay_status'),'keyword'=>I('keyword'),'xlsname'=>'商品中心_订单中心'))}">导出</a>
</if>
{$_page|default=''}
</div>

@ -101,9 +101,11 @@
<a class="sch-btn" href="javascript:;" id="search" url="{:U('PayChannel/gameDetail','model='.$model['name'].'&row='.I('row'),false)}"
style="">搜索</a>
<if condition="$_GET['all'] neq 1">
<a class="sch-btn" href="{:U('PayChannel/export_gameDatail',
array_merge(array('xlsname'=>'游戏订单查看导出'),I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<if condition="$_GET['all'] neq 1">
<a class="sch-btn" href="{:U('PayChannel/export_gameDatail',
array_merge(array('xlsname'=>'游戏订单查看导出'),I('get.')))}">导出</a>
</if>
</if>
</div>
</div>

@ -119,9 +119,11 @@
<div class="input-list">
<a class="sch-btn" href="javascript:;" id="search" url="{:U('PayChannel/index','model='.$model['name'].'&row='.I('row'),false)}"
style="width: 100px;border: #3C95C8 solid 1px;">搜索</a>
<a class="sch-btn" href="{:U('/PayChannel/index/export/1',
array_merge(array('export'=>1),I('get.'))
,false)}" style="width: 100px;border: #3C95C8 solid 1px;">导出</a>
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('/PayChannel/index/export/1',
array_merge(array('export'=>1),I('get.'))
,false)}" style="width: 100px;border: #3C95C8 solid 1px;">导出</a>
</if>
</div>
</div>
</div>

@ -97,9 +97,11 @@
<a class="sch-btn" href="javascript:;" id="search" url="{:U('PayChannel/testDetail','model='.$model['name'].'&row='.I('row'),false)}"
style="">搜索</a>
<if condition="$_GET['all'] neq 1">
<a class="sch-btn" href="{:U('PayChannel/export_testDetail',
array_merge(array('xlsname'=>'测试游戏订单查看导出'),I('get.')))}">导出</a>
<if condition="$role_export_check eq true ">
<if condition="$_GET['all'] neq 1">
<a class="sch-btn" href="{:U('PayChannel/export_testDetail',
array_merge(array('xlsname'=>'测试游戏订单查看导出'),I('get.')))}">导出</a>
</if>
</if>
</div>
</div>

@ -332,7 +332,7 @@
</empty>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn export-btn"
href="{:U('PayChannelIntention/export_detail',array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<!-- <a class="sch-btn" href="{:U('Export/expUser',array_merge(['id'=>3,'xlsname'=>'玩家_玩家列表_'.(I('get.type')==2?'第三方玩家':'本站玩家')],I('get.')))}">导出</a> -->

@ -318,7 +318,7 @@
</empty>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn export-btn"
href="{:U('PayChannelIntention/export_index',array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
<!-- <a class="sch-btn" href="{:U('Export/expUser',array_merge(['id'=>3,'xlsname'=>'玩家_玩家列表_'.(I('get.type')==2?'第三方玩家':'本站玩家')],I('get.')))}">导出</a> -->

@ -161,7 +161,7 @@
</div>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/platform_statistics',
array(
'timestart'=>$_GET['timestart'],

@ -134,7 +134,7 @@
</div>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/platform_statistics',
array('timestart'=>$_GET['timestart'],'timeend'=>$_GET['timeend'],'type'=>1,'game_name'=>$_GET['game_name'],p=>$_GET['p'],'xlsname'=>'统计_平台统计_游戏充值统计',)
,false)}">导出</a>

@ -126,7 +126,7 @@
</div>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/platform_statistics',
array('timestart'=>$_GET['timestart'],'timeend'=>$_GET['timeend'],'type'=>3,'pay_way'=>$_GET['pay_way'],p=>$_GET['p'],'xlsname'=>'统计_平台统计_充值方式统计')
,false)}">导出</a>

@ -165,7 +165,7 @@
</div>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn" href="{:U('Export/promote_statistics',
array('timestart'=>$_GET['timestart'],'timeend'=>$_GET['timeend'],'promote_id'=>$_GET['promote_id'],p=>$_GET['p'],'xlsname'=>'统计_推广员统计_推广员注册统计',)
,false)}">导出</a>

@ -171,7 +171,7 @@
</div>
</div>
<div class="page">
<if condition="$is_admin eq true ">
<if condition="$role_export_check eq true ">
<a class="sch-btn"
href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
</if>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save