Browse Source

优化错误返回2

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

2
app/Services/ParkingSpaceService.php

@ -399,7 +399,7 @@ class ParkingSpaceService extends BaseService
);
DB::commit();
return $model;
} catch (Exception $e) {
} catch (Exception|CustomException $e) {
DB::rollBack();
throw $e;
}

Loading…
Cancel
Save