WIN-2308041133\Administrator 2 minggu lalu
induk
melakukan
1e9651703b
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      app/models/user/DividendsRecord.php

+ 2 - 1
app/models/user/DividendsRecord.php

@@ -176,7 +176,8 @@ class DividendsRecord extends BaseModel
 //            $spread_uid = User::where('uid', $order['uid'])->value('spread_uid');
 //            $spread_uid = User::where('uid', $order['uid'])->value('spread_uid');
 
 
             // 获取今日0点的时间戳
             // 获取今日0点的时间戳
-            $today_start_timestamp = strtotime('today midnight');
+//            $today_start_timestamp = strtotime('today midnight');
+            $today_start_timestamp = strtotime('yesterday  midnight');
 
 
             // 获取奖池
             // 获取奖池
             $award_lake = AwardLake::where('add_time', $today_start_timestamp)->find();
             $award_lake = AwardLake::where('add_time', $today_start_timestamp)->find();