@@ -92,7 +92,7 @@ |
||
92 | 92 | if($this->config=='YunTongXun'){ |
93 | 93 | $rest=new Rest(config('sms.agents.'.$this->config)); |
94 | 94 | return $rest->sendTemplateSMS($this->smsData['to'],$this->smsData['templateData'],$this->smsData['templates']['YunTongXun']); |
95 | - }else{ |
|
95 | + } else{ |
|
96 | 96 | throw new \Exception('make sure you have choose a right agent'); |
97 | 97 | } |
98 | 98 | } |