Browse Source

活动行事历导入错误返回8

master
wanghongjun 1 day ago
parent
commit
7f5c148fbd
  1. 3
      app/Http/Controllers/Admin/EventCalendarController.php

3
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("<br><br>", $error_arr));
throw new CustomException(implode("<br>", $error_arr));
}
return $this->responseService->success(
__('controller.import.success')

Loading…
Cancel
Save