generated from liutk/owl-admin-base
本地环境发送短信
parent
9934878995
commit
de101d9010
|
|
@ -37,6 +37,11 @@ class SendWorkflowCheckSuccessNotification implements ShouldQueue
|
||||||
$applyAt = $event->workflowCheck->created_at;
|
$applyAt = $event->workflowCheck->created_at;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 本地环境不发送短信
|
||||||
|
if (config('app.env') == 'local') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$client = new EasySms(config('easysms'));
|
$client = new EasySms(config('easysms'));
|
||||||
|
|
||||||
$client->send($phone, [
|
$client->send($phone, [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue