|
|
|
@ -280,7 +280,7 @@ class IndexChartSetController extends AdminController {
|
|
|
|
|
$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'];//推广员总充值
|
|
|
|
|
|
|
|
|
|
$this->adddata["all_count"] = serialize($allcount);
|
|
|
|
|
$this->adddata["all_count"] = json_encode($allcount);
|
|
|
|
|
}
|
|
|
|
|
public function createDb()
|
|
|
|
|
{
|
|
|
|
|