diff --git a/app/Http/Controllers/Admin/EventCalendarController.php b/app/Http/Controllers/Admin/EventCalendarController.php index 45c8932..59ed926 100644 --- a/app/Http/Controllers/Admin/EventCalendarController.php +++ b/app/Http/Controllers/Admin/EventCalendarController.php @@ -351,6 +351,7 @@ class EventCalendarController extends BaseController * @param Request $request * @return JsonResponse * @throws ValidationException + * @throws CustomException */ public function import(Request $request): JsonResponse { @@ -384,7 +385,7 @@ class EventCalendarController extends BaseController // 6. 返回错误行 if ($error_arr) { - throw new CustomException(implode("

", $error_arr)); + throw new CustomException(implode("
", $error_arr)); } return $this->responseService->success( __('controller.import.success')