|
|
|
@ -200,7 +200,7 @@ class SpendRepository {
|
|
|
|
|
|
|
|
|
|
$records = [];
|
|
|
|
|
foreach ($dayList as $day) {
|
|
|
|
|
$time = strtotime($day);
|
|
|
|
|
$time = strtotime($day) + 24 * 3600;
|
|
|
|
|
$conditions['pay_time'] = ['elt', $time];
|
|
|
|
|
$result = M('spend', 'tab_')->field('count(DISTINCT user_id) as count')->where($conditions)->find();
|
|
|
|
|
$records[$day] = $result['count'];
|
|
|
|
|