|
|
@@ -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);
|
|
|
}
|
|
|
}
|