throw
This commit is contained in:
parent
d2304c2f2c
commit
1fe0249fac
@ -61,7 +61,7 @@ class CardController extends Controller
|
|||||||
$export = new CardExport($conditions);
|
$export = new CardExport($conditions);
|
||||||
$url = ExportService::store($export, $disk = 'public', $total);
|
$url = ExportService::store($export, $disk = 'public', $total);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
return err('导出失败,请稍后重试');
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
return res($url, '导出成功', 201);
|
return res($url, '导出成功', 201);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user