shicf
2026-04-03 5d3cdbfe4e8693ebcc8494a4047359717f849382
凌凯短信发送
已修改1个文件
12 ■■■■ 文件已修改
src/main/java/com/product/text/message/util/SendSMSUtil.java 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/product/text/message/util/SendSMSUtil.java
@@ -77,7 +77,7 @@
    @Override
    public String SendSMS(String phoneNum) {
        int mobile_code = (int)((Math.random()*9+1)*100000);
        String content = new String("您的验证码是:" + mobile_code + ",请不要把验证码泄露给其他人。");
        String content = new String("您的验证码是:" + mobile_code + ",请不要把验证码泄露给其他人。【成都龙欣软件有限公司】");
        int result;
        try {
            result = sendSMS(phoneNum, content, "");
@@ -120,9 +120,9 @@
        return inputLine;
    }
//
//    public static void main(String[] args) {
//        SendSMSUtil smsUtil = new SendSMSUtil();
//        System.out.println(smsUtil.SendSMS("15928438186"));
//
//    }
    public static void main(String[] args) {
        SendSMSUtil smsUtil = new SendSMSUtil();
        System.out.println(smsUtil.SendSMS("18030850875"));
    }
}