order-profit
parent
a70080281d
commit
4499c057f6
|
|
@ -78,7 +78,7 @@ class OrderProfitCommand extends Command
|
||||||
$service->wechatTransfer($profit);
|
$service->wechatTransfer($profit);
|
||||||
}
|
}
|
||||||
DB::commit();
|
DB::commit();
|
||||||
} catch (\Exception $e) {
|
} catch (\Throwable $e) {
|
||||||
DB::rollBack();
|
DB::rollBack();
|
||||||
$this->error($e->getMessage());
|
$this->error($e->getMessage());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue