xiaogang %!s(int64=4) %!d(string=hai) anos
pai
achega
a9949837b5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/Services/SmsService.php

+ 2 - 2
app/Services/SmsService.php

xqd
@@ -78,8 +78,8 @@ class SmsService
         } catch (SmsException $e) {
             return ['error' => $e->getMessage()];
         } catch (NoGatewayAvailableException $e) {
-            return ['error' => json_encode($e)];
-            return ['error' => '发送短信失败2'];
+//            return ['error' => json_encode($e)];
+            return ['error' => '发送短信失败'];
         } catch (Exception $e) {
             return ['error' => '发送短信失败'];
         }