44323
2024-01-30 197431f6ce578d87a0156d2b8b13f1d327ba5e1e
cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/util/SendSms.java
@@ -252,12 +252,5 @@
        sc.init(null, trustAllCerts, null);
        HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
    }
    /*测试发送短信*/
//    public static void main(String[] args) throws Exception{
///*
//        //String  res = send("13981969442","[\"123456\"]",1);//验证码测试
//        JSONObject object = new JSONObject("{\"result\":[{\"originTo\":\"13981969442\",\"createTime\":\"2019-08-01T11:23:52Z\",\"from\":\"881907307922\",\"smsMsgId\":\"f9a397a3-8e36-479a-834c-a20a7a466d8c_606422718\",\"status\":\"000000\"}],\"code\":\"000000\",\"description\":\"Success\"}");
//        String code=object.getString("code");
//        //String  res1 = send("13981969442","[\"2017/07/16\",\"成都北\",\"14:30\",\"3\"]",2);//通知类测试  日期格式只能是2017/07/16这种的*/
//    }
}