| | |
| | | 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); |
| | |
| | | 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?"; |