diff --git a/app/common/services/withdraw/PayedService.php b/app/common/services/withdraw/PayedService.php index 624c67fd..2d66c5e4 100644 --- a/app/common/services/withdraw/PayedService.php +++ b/app/common/services/withdraw/PayedService.php @@ -96,6 +96,7 @@ class PayedService event(new WithdrawFailedEvent($this->withdrawModel)); $this->sendMessage(); } + $this->msg = $e->getMessage(); } throw new ShopException($this->msg ?: '提现失败'); } @@ -686,6 +687,7 @@ class PayedService else throw new ShopException($result['respDesc']); }catch(\Exception $e){ \Log::debug('------- 灵活务工 - 确认打款错误 -----',$e->getMessage()); + throw new ShopException($e->getMessage()); } } return true;