Ken 3 dienas atpakaļ
vecāks
revīzija
bd1f66f5ca
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/Services/SmsService.php

+ 1 - 1
app/Services/SmsService.php

@@ -40,6 +40,6 @@ class SmsService
         if (!empty(static::$errors[$code])) {
             throw new Exception(static::$errors[$code], HttpStatus::CUSTOM_ERROR);
         }
-        if ($code != 0) throw new Exception("发送失败", HttpStatus::CUSTOM_ERROR);
+        if ($code != 0) throw new Exception("发送失败:$code", HttpStatus::CUSTOM_ERROR);
     }
 }