cqp 9 months ago
parent
commit
bf41c7300e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Service/InspectService.php

+ 2 - 2
app/Service/InspectService.php

@@ -440,8 +440,8 @@ class InspectService extends Service
 
     public function deviceOrderWx($data,$user){
         if(empty($data['crt_time'][0]) && empty($data['crt_time'][1])) return [false, '维修时间段不能为空!'];
-        $start_time = strtotime($data['crt_time'][0] . "00:00:00");
-        $end_time = strtotime($data['crt_time'][1] . "23:59:59");
+        $start_time = strtotime($data['crt_time'][0] . " 00:00:00");
+        $end_time = strtotime($data['crt_time'][1] . " 23:59:59");
 
         $return = [];
         foreach (DeviceOrder::$state_title as $key => $value){