|
|
@ -682,16 +682,15 @@ class QueryController extends ThinkController
|
|
|
|
'title' => '渠道提现',
|
|
|
|
'title' => '渠道提现',
|
|
|
|
'template_list' => 'withdraw',
|
|
|
|
'template_list' => 'withdraw',
|
|
|
|
);
|
|
|
|
);
|
|
|
|
$map1 = array('status' => 1);
|
|
|
|
$map1 = array('status' => ['neq', -1]);
|
|
|
|
$total = null_to_0(D('withdraw')->where($map1)->sum('sum_money'));
|
|
|
|
$total = null_to_0(D('withdraw')->where($map1)->sum('sum_money'));
|
|
|
|
$ttotal = null_to_0(D('withdraw')->where('end_time' . total(1))->where($map1)->sum('sum_money'));
|
|
|
|
$ttotal = null_to_0(D('withdraw')->where('create_time' . total(1))->where($map1)->sum('sum_money'));
|
|
|
|
$ytotal = null_to_0(D('withdraw')->where('end_time' . total(5))->where($map1)->sum('sum_money'));
|
|
|
|
$ytotal = null_to_0(D('withdraw')->where('create_time' . total(5))->where($map1)->sum('sum_money'));
|
|
|
|
$this->assign('total', $total);
|
|
|
|
$this->assign('total', $total);
|
|
|
|
$this->assign('ttotal', $ttotal);
|
|
|
|
$this->assign('ttotal', $ttotal);
|
|
|
|
$this->assign('ytotal', $ytotal);
|
|
|
|
$this->assign('ytotal', $ytotal);
|
|
|
|
$user = A('Bill', 'Event');
|
|
|
|
$user = A('Bill', 'Event');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->m_title = '推广提现';
|
|
|
|
$this->m_title = '推广提现';
|
|
|
|
$this->assign('commonset', M('Kuaijieicon')->where(['url' => 'Query/withdraw', 'status' => 1])->find());
|
|
|
|
$this->assign('commonset', M('Kuaijieicon')->where(['url' => 'Query/withdraw', 'status' => 1])->find());
|
|
|
|
|
|
|
|
|
|
|
|