本地环境发送短信

main
panliang 2024-04-29 10:52:33 +08:00
parent 9934878995
commit de101d9010
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,11 @@ class SendWorkflowCheckSuccessNotification implements ShouldQueue
$applyAt = $event->workflowCheck->created_at;
}
// 本地环境不发送短信
if (config('app.env') == 'local') {
return;
}
$client = new EasySms(config('easysms'));
$client->send($phone, [