MrShi
2024-02-01 27e41b5c21b4ba13178b2184c76c4d8cba0952b6
server/service/src/main/java/com/doumee/service/business/third/EmayService.java
@@ -61,12 +61,10 @@
      return 0;
   }
   public   boolean sendSingleSms(String mobile,String content) throws SDKParamsException {
   public   boolean sendSingleSms(String mobile,String content)  {
      try {
         client = new SmsSDKClient(ip,port,appKey,appSecret);
      } catch (SDKParamsException e) {
         throw new RuntimeException(e);
      }
      if(client == null){
         return false;
      }
@@ -85,6 +83,10 @@
         System.out.println("请求失败");
         return false;
      }
      } catch (Exception e) {
      }
      return false;
   }