diff --git a/app/Listeners/SendWorkflowCheckFailedNotification.php b/app/Listeners/SendWorkflowCheckFailedNotification.php index 9a983f7..9406989 100644 --- a/app/Listeners/SendWorkflowCheckFailedNotification.php +++ b/app/Listeners/SendWorkflowCheckFailedNotification.php @@ -45,7 +45,7 @@ class SendWorkflowCheckFailedNotification implements ShouldQueue }, 'template' => function($gateway) { if ($gateway->getName() == 'aliyun') { - return 'SMS_465890235'; + return 'SMS_465905330'; } }, 'data' => function($gateway) use ($applyAt, $subjectTypeText) { diff --git a/app/Listeners/SendWorkflowCheckNextNotification.php b/app/Listeners/SendWorkflowCheckNextNotification.php index 75e0b2a..770697c 100644 --- a/app/Listeners/SendWorkflowCheckNextNotification.php +++ b/app/Listeners/SendWorkflowCheckNextNotification.php @@ -59,7 +59,7 @@ class SendWorkflowCheckNextNotification implements ShouldQueue }, 'template' => function($gateway) { if ($gateway->getName() == 'aliyun') { - return 'SMS_465885234'; + return 'SMS_465900349'; } }, 'data' => function($gateway) use ($subjectTypeText) { diff --git a/app/Listeners/SendWorkflowCheckSuccessNotification.php b/app/Listeners/SendWorkflowCheckSuccessNotification.php index 5ce4a3e..f030583 100644 --- a/app/Listeners/SendWorkflowCheckSuccessNotification.php +++ b/app/Listeners/SendWorkflowCheckSuccessNotification.php @@ -50,7 +50,7 @@ class SendWorkflowCheckSuccessNotification implements ShouldQueue }, 'template' => function($gateway) { if ($gateway->getName() == 'aliyun') { - return 'SMS_465915258'; + return 'SMS_465955319'; } }, 'data' => function($gateway) use ($applyAt, $subjectTypeText) { diff --git a/config/easysms.php b/config/easysms.php index a411c9b..8b1d2a8 100644 --- a/config/easysms.php +++ b/config/easysms.php @@ -10,9 +10,7 @@ return [ 'strategy' => \Overtrue\EasySms\Strategies\OrderStrategy::class, // 默认可用的发送网关 - 'gateways' => [ - 'aliyun', - ], + 'gateways' => explode(',', env('EASYSMS_GATEWAYS', 'errorlog')), ], // 可用的网关配置 'gateways' => [