This commit is contained in:
邓皓元 2019-01-03 15:33:57 +08:00
parent d2304c2f2c
commit 1fe0249fac

View File

@ -61,7 +61,7 @@ class CardController extends Controller
$export = new CardExport($conditions);
$url = ExportService::store($export, $disk = 'public', $total);
} catch (\Exception $e) {
return err('导出失败,请稍后重试');
throw $e;
}
return res($url, '导出成功', 201);