Explorar o código

you2 data bugs

zz %!s(int64=6) %!d(string=hai) anos
pai
achega
be68e60aaa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)