Browse Source

优化错误返回

master
wanghongjun 3 weeks ago
parent
commit
b00178cabc
  1. 2
      app/Services/ParkingSpaceService.php

2
app/Services/ParkingSpaceService.php

@ -361,7 +361,7 @@ class ParkingSpaceService extends BaseService
if ($status == 2) { if ($status == 2) {
// 维修 // 维修
if ($oldValues['status'] == 2) { if ($oldValues['status'] == 2) {
throw new CustomException(__validation('parking_repair_list.space_exists')); throw new CustomException(__service('parking_repair_list.space_exists'));
} }
$now_times = time(); $now_times = time();
$start_times = strtotime($start_at);// 维修开始时间 $start_times = strtotime($start_at);// 维修开始时间

Loading…
Cancel
Save