cqpCow 1 year ago
parent
commit
0665041cc3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Service/BookingListService.php

+ 2 - 2
app/Service/BookingListService.php

@@ -26,7 +26,7 @@ class BookingListService extends Service
             $time = time();
             BookingListInfo::where('del_time',0)
                 ->where('booking_list_id',$data['id'])
-                ->update('del_time',$time);
+                ->update(['del_time' => $time]);
             if(! empty($data['file'])){
                 $insert = [];
                 foreach ($data['file'] as $value){
@@ -104,7 +104,7 @@ class BookingListService extends Service
             ]);
             BookingListInfo::where('del_time',0)
                 ->where('booking_list_id',$data['id'])
-                ->update('del_time',$time);
+                ->update(['del_time' => $time]);
 
             DB::commit();
         }catch (\Exception $exception){