Ken 4 일 전
부모
커밋
bd1f66f5ca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
     }
 }