提交 b52f39a6 authored 作者: chengye's avatar chengye

test

上级 4ef0521e
...@@ -47,10 +47,13 @@ class Payment ...@@ -47,10 +47,13 @@ class Payment
$payment->save(); $payment->save();
$res = '';
try { try {
$res = (new Invoice())->writeOffFromPayment($payment->account_id, $payment->payment_id); $res = (new Invoice())->writeOffFromPayment($payment->account_id, $payment->payment_id);
} catch (\Exception $e){ } catch (\Exception $e){
Log::error($e->getMessage()); $res = $e->getMessage();
Log::error($res);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论