diff --git a/Application/Base/Repository/SpendRepository.class.php b/Application/Base/Repository/SpendRepository.class.php index 42c146772..06ef2cb1d 100644 --- a/Application/Base/Repository/SpendRepository.class.php +++ b/Application/Base/Repository/SpendRepository.class.php @@ -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']; diff --git a/Application/Home/View/default/Query/arpu.html b/Application/Home/View/default/Query/arpu.html index 2b878873a..d3217ac9c 100644 --- a/Application/Home/View/default/Query/arpu.html +++ b/Application/Home/View/default/Query/arpu.html @@ -135,6 +135,9 @@