[测评系统]--测评系统核心代码库
zhijie
2023-10-16 e80006ac27c3370e9a4dc02f28898d3380c57993
src/main/java/com/ots/project/tool/sms/ZjunShortMessageImpl.java
@@ -27,7 +27,7 @@
    String accountId = "12128"; 
    String account = "NDA"; 
    String password = "nda@2019"; 
    String xml = "http://sms.izjun.cn";
    String xml = "http://agent.izjun.cn";
    Date date = new Date();
    SimpleDateFormat sf = new SimpleDateFormat(PATTERN);
    String dateStr = sf.format(date);
@@ -40,18 +40,10 @@
        Returnsms returnsms = (Returnsms) xstream.fromXML(xml);
        System.out.println(JSON.toJSON(returnsms));
        ZjunShortMessageImpl impl = new ZjunShortMessageImpl();
        Returnsms sendmsg = impl.sendmsg("1351274544", "【掌骏传媒】", "http://139.199.11.114/exam-stu/#/demography/ed860660-95a7-4feb-aab9-f56b1eff1a3c/12/index");
        Returnsms sendmsg = impl.sendmsg("15521298984", "【掌骏传媒】", "http://139.199.11.114/exam-stu/#/demography/ed860660-95a7-4feb-aab9-f56b1eff1a3c/12/index");
        System.out.println(JSON.toJSON(sendmsg));
        Returnsms returnsms1 = impl.checkYUE();
        System.out.println(JSON.toJSON(returnsms1));
    }
    public Returnsms sendmsg(String mobile, String smsSign, String content) throws Exception { 
        String urlString = xml + "/v2sms.aspx?";