xiaogang 3 years ago
parent
commit
20516ea2df
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Services/SmsService.php

+ 2 - 2
app/Services/SmsService.php

xqd
@@ -53,11 +53,11 @@ class SmsService
             self::verifySmsEvent($event);
 
             $templateId = self::getTemplateIdByEvent($event);
-			
+
           	if(app()->isLocal()){
             	$smsCode = 1234 ;
             	$result = true;
-            }lelse{
+            }else{
               $smsCode = self::getSmsCode();
               $result = self::easySms()->send($mobile, [
                   'template' => $templateId,