Browse Source

fix refill_balance

stanley-king 2 years ago
parent
commit
98e11cca01
1 changed files with 1 additions and 7 deletions
  1. 1 7
      helper/task/handler.php

+ 1 - 7
helper/task/handler.php

@@ -366,15 +366,9 @@ class handler
     public function refill_balance_stat_all($condition)
     {
         $end = $condition['end'];
-        $last_confirm_balance = Model('refill_balance')->lastConfirm();
-        if(empty($last_confirm_balance)) {
-            $start = 0;
-        }else{
-            $start = $last_confirm_balance['end_stamp'];
-        }
 
         $refill_balance = new refill_balance();
-        $refill_balance->stat_all($start, $end);
+        $refill_balance->stat_all($end);
         return [true, 'success'];
     }