stanley-king 2 年之前
父节点
当前提交
4e157f6212
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      helper/statistics/refill_balance.php

+ 2 - 1
helper/statistics/refill_balance.php

@@ -213,7 +213,8 @@ class refill_balance
         }
 
         if($start == 0) {
-            $start = min($refill_time,$pay_time);
+            $time = min($refill_time,$pay_time);
+            $start = strtotime(date('Y-m-d', $time));
         }
 
         $accumuter = function ($parent_id)