|
|
|
@ -258,8 +258,10 @@ class ParkingSpaceRepairController extends BaseController |
|
|
|
null, |
|
|
|
__('admin.update_succeeded') |
|
|
|
); |
|
|
|
} catch (ValidationException|CustomException $e) { |
|
|
|
} catch (ValidationException $e) { |
|
|
|
throw $e; |
|
|
|
} catch (CustomException $e) { |
|
|
|
return $this->responseService->businessError($e->getMessage()); |
|
|
|
} catch (Exception $e) { |
|
|
|
return $this->responseService->systemError( |
|
|
|
__('admin.operation_failed') . ':' |
|
|
|
@ -414,8 +416,10 @@ class ParkingSpaceRepairController extends BaseController |
|
|
|
return $this->responseService->success( |
|
|
|
__('controller.import.success') |
|
|
|
); |
|
|
|
} catch (ValidationException|CustomException $e) { |
|
|
|
} catch (ValidationException $e) { |
|
|
|
throw $e; |
|
|
|
} catch (CustomException $e) { |
|
|
|
return $this->responseService->businessError($e->getMessage()); |
|
|
|
} catch (Exception $e) { |
|
|
|
return $this->responseService->systemError( |
|
|
|
__('exception.admin_vip_list.import_failed') . ':' |
|
|
|
@ -441,8 +445,10 @@ class ParkingSpaceRepairController extends BaseController |
|
|
|
null, |
|
|
|
__('admin.save_succeeded') |
|
|
|
); |
|
|
|
} catch (ValidationException|CustomException $e) { |
|
|
|
} catch (ValidationException $e) { |
|
|
|
throw $e; |
|
|
|
} catch (CustomException $e) { |
|
|
|
return $this->responseService->businessError($e->getMessage()); |
|
|
|
} catch (Exception $e) { |
|
|
|
return $this->responseService->systemError( |
|
|
|
__('admin.operation_failed') . ':' |
|
|
|
@ -514,8 +520,10 @@ class ParkingSpaceRepairController extends BaseController |
|
|
|
null, |
|
|
|
__('admin.operation_successful') |
|
|
|
); |
|
|
|
} catch (ValidationException|CustomException $e) { |
|
|
|
} catch (ValidationException $e) { |
|
|
|
throw $e; |
|
|
|
} catch (CustomException $e) { |
|
|
|
return $this->responseService->businessError($e->getMessage()); |
|
|
|
} catch (Exception $e) { |
|
|
|
return $this->responseService->systemError( |
|
|
|
__('admin.operation_failed') . ':' |
|
|
|
|