|
|
|
@ -275,8 +275,8 @@ class IndexChartSetController extends AdminController {
|
|
|
|
|
$allcount['money_sum'] =$spend->totalAmount();//累计充值
|
|
|
|
|
$allcount['promote_sum'] =$promote->total();//推广员总数
|
|
|
|
|
$allcount['game_count'] = M("game","tab_")->where("game_status = 1")->field("count(1) game_count")->find()['game_count'];//游戏接入数量
|
|
|
|
|
$allcount['android_gamesource_count'] = M("GameSource","tab_")->where("file_type = 1 and apply_status = 1")->field("count(1) game_count")->find()['game_count'];//安卓游戏原包
|
|
|
|
|
$allcount['ios_gamesource_count'] = M("GameSource","tab_")->where("file_type = 2 and apply_status = 1")->field("count(1) game_count")->find()['game_count'];//IOS游戏原包
|
|
|
|
|
$allcount['android_gamesource_count'] = M("GameSource","tab_")->where("file_type = 1")->field("count(1) game_count")->find()['game_count'];//安卓游戏原包
|
|
|
|
|
$allcount['ios_gamesource_count'] = M("GameSource","tab_")->where("file_type = 2")->field("count(1) game_count")->find()['game_count'];//IOS游戏原包
|
|
|
|
|
$allcount['promote_user_count'] = $user->where("promote_id > 0 and puid = 0")->field("count(1) user_count")->find()['user_count'];//推广员注册用户
|
|
|
|
|
$allcount['promote_spend_sum'] = $spend->where("promote_id > 0 and pay_status = 1")->field("sum(pay_amount) pay_amount")->find()['pay_amount'];//推广员总充值
|
|
|
|
|
|
|
|
|
|