Explorar el Código

工程师确定新的预约时间

whitefang hace 1 año
padre
commit
230f29904f

+ 0 - 1
app/adminapi/logic/works/ServiceWorkLogic.php

@@ -635,7 +635,6 @@ class ServiceWorkLogic extends BaseLogic
             if($serviceWork->isEmpty()){
                 throw new \Exception('工单不存在');
             }
-            $serviceWork->appointment_time = strtotime($params['appointment_time']);
             $serviceWork->appoint_approval = 2;
             $serviceWork->save();
             Db::commit();

+ 1 - 1
app/workerapi/validate/ServiceWorkValidate.php

@@ -122,6 +122,6 @@ class ServiceWorkValidate extends BaseValidate
 
     public function sceneSubmitAppointment()
     {
-        return $this->only(['work_sn','appointment_time']);
+        return $this->only(['work_sn']);
     }
 }