添加:提现错误抛出

This commit is contained in:
wuhui_zzw 2024-06-04 10:22:55 +08:00
parent ba7969b7e6
commit 1514dc3416
1 changed files with 2 additions and 0 deletions

View File

@ -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;