创建计划BUG

dev
鹿和sa0ChunLuyu 19 hours ago
parent 96dd3e1ced
commit 299908f6b4

@ -220,7 +220,7 @@ public function Save(Request $request)
'begin_time' => $planInfo['begin_time'], 'begin_time' => $planInfo['begin_time'],
'end_time' => $planInfo['end_time'], 'end_time' => $planInfo['end_time'],
'end_reservation_time' => $planInfo['end_reservation_time'], 'end_reservation_time' => $planInfo['end_reservation_time'],
'time_unit' => $planInfo['time_unit'], 'time_unit' => $planInfo['time_unit'] ?? 0,
'status' => $planInfo['status'], 'status' => $planInfo['status'],
'adduser' => $userid, 'adduser' => $userid,
'date_type' => $date_type, 'date_type' => $date_type,
@ -720,7 +720,7 @@ public function SaveAdmin(Request $request)
'begin_time' => $planInfo['begin_time'], 'begin_time' => $planInfo['begin_time'],
'end_time' => $planInfo['end_time'], 'end_time' => $planInfo['end_time'],
'end_reservation_time' => $planInfo['end_reservation_time'], 'end_reservation_time' => $planInfo['end_reservation_time'],
'time_unit' => $planInfo['time_unit'], 'time_unit' => $planInfo['time_unit'] ?? 0,
'status' => $planInfo['status'], 'status' => $planInfo['status'],
'adduser' => $userid, 'adduser' => $userid,
'date_type' => $date_type, 'date_type' => $date_type,

Loading…
Cancel
Save