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