From fc36227b33350ad8d1048dcb49e2bfc93fc7ca53 Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Wed, 26 Jun 2024 16:13:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/SmsService.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/common/service/SmsService.php b/app/common/service/SmsService.php index e45c905a6..aa18e526a 100644 --- a/app/common/service/SmsService.php +++ b/app/common/service/SmsService.php @@ -47,7 +47,7 @@ class SmsService public function client($phone,$template,$code,$type = 0) { - try{ +// try{ $easySms = new EasySms($this->config); if($type){//预留发送到货短信 @@ -67,16 +67,16 @@ class SmsService 'code' => $code ], ]); - } + }d($res); if($res && $res['aliyun']['status'] == 'success'){ return true; }else{ return false; } - }catch(NoGatewayAvailableException $e){ - throw new BusinessException($e->getExceptions()); - } +// }catch(NoGatewayAvailableException $e){ +// throw new BusinessException($e->getExceptions()); +// } } }