zz 6 лет назад
Родитель
Сommit
be68e60aaa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Console/Commands/BookTest.php

+ 1 - 1
app/Console/Commands/BookTest.php

@@ -340,7 +340,7 @@ class BookTest extends Command
             if($to_bids){
                 foreach ($to_bids as $v){
                     $to_bid = $v->to_bid;
-                    $time = $to_bids->created_at->format('Y-m-d H:i:s');
+                    $time = $v->created_at->format('Y-m-d H:i:s');
                     if(!$to_bid) continue;
                     $fee = $chapter_model->where('uid',$item->uid)
                         ->where('bid',$to_bid)