Ver Fonte

胡庆余堂

cqp há 6 meses atrás
pai
commit
4eaf42bc51
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Service/ItemService.php

+ 1 - 1
app/Service/ItemService.php

@@ -410,7 +410,7 @@ class ItemService extends Service
         $unit = [];
         $unit = [];
         foreach ($data as $value){
         foreach ($data as $value){
             $unit[] = [
             $unit[] = [
-                'time' => $value['time'],
+                'time' => date("Y-m-d",$value['time']),
                 'is_work' => $value['is_work'],
                 'is_work' => $value['is_work'],
             ];
             ];
         }
         }