@@ -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();
@@ -122,6 +122,6 @@ class ServiceWorkValidate extends BaseValidate
public function sceneSubmitAppointment()
{
- return $this->only(['work_sn','appointment_time']);
+ return $this->only(['work_sn']);