• 大小: 6.7MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-14
  • 语言: 其他
  • 标签: 短信验证  java  

资源简介

手机短信验证,支持手机短信验证,语音验证,只要修改项目工程的ACCOUNT SID和AUTH TOKEN,以及短信模板即可使用。

资源截图

代码片段和文件信息

package com.miaodiyun.httpApiDemo;

import com.miaodiyun.httpApiDemo.common.Config;
import com.miaodiyun.httpApiDemo.common.HttpUtil;

/**
 * 获取开发者账号信息接口调用示例
 * 
 * @ClassName: AccountInfo
 * @Description: 获取开发者账号信息接口调用示例
 *
 */
public class AccountInfo
{
private static String operation = “/query/accountInfo“;

private static String accountSid = Config.ACCOUNT_SID;

/**
 * 获取开发者账号信息
 */
public static void execute()
{
String url = Config.base_URL + operation;
String body = “accountSid=“ + accountSid + HttpUtil.createCommonParam();

// 提交请求
String result = HttpUtil.post(url body);
System.out.println(“result:“ + System.lineSeparator() + result);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-05-18 11:19  javaHttpApiDemo\
     文件         593  2018-02-02 11:13  javaHttpApiDemo\.classpath
     文件        1048  2016-03-15 10:46  javaHttpApiDemo\.project
     目录           0  2016-05-18 11:19  javaHttpApiDemo\.settings\
     文件         491  2016-03-15 10:47  javaHttpApiDemo\.settings\.jsdtscope
     文件         670  2016-03-15 10:47  javaHttpApiDemo\.settings\org.eclipse.jdt.core.prefs
     文件         497  2016-03-15 10:47  javaHttpApiDemo\.settings\org.eclipse.wst.common.component
     文件         305  2016-03-29 09:59  javaHttpApiDemo\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2016-03-15 10:47  javaHttpApiDemo\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2016-03-15 10:47  javaHttpApiDemo\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2016-05-18 11:19  javaHttpApiDemo\build\
     目录           0  2018-02-02 11:13  javaHttpApiDemo\build\classes\
     目录           0  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\
     目录           0  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\
     目录           0  2018-04-03 11:24  javaHttpApiDemo\build\classes\com\miaodiyun\httpApiDemo\
     文件        1254  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\httpApiDemo\AccountInfo.class
     文件        1743  2018-02-02 11:20  javaHttpApiDemo\build\classes\com\miaodiyun\httpApiDemo\AffMarkSMS.class
     目录           0  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\httpApiDemo\common\
     文件         586  2018-04-03 11:24  javaHttpApiDemo\build\classes\com\miaodiyun\httpApiDemo\common\Config.class
     文件        3546  2018-02-02 11:14  javaHttpApiDemo\build\classes\com\miaodiyun\httpApiDemo\common\HttpUtil.class
     文件        1676  2018-04-03 11:24  javaHttpApiDemo\build\classes\com\miaodiyun\httpApiDemo\IndustrySMS.class
     文件         407  2018-04-03 11:24  javaHttpApiDemo\build\classes\com\miaodiyun\httpApiDemo\Test.class
     文件        1640  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\httpApiDemo\VoiceCode.class
     目录           0  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\huiDiao\
     目录           0  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\huiDiao\entity\
     文件        1512  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\huiDiao\entity\MoNoticeReq.class
     文件         581  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\huiDiao\entity\MoNoticeResp.class
     文件        1557  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\huiDiao\entity\ReceNoticeReq.class
     文件         587  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\huiDiao\entity\ReceNoticeResp.class
     文件        2148  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\huiDiao\entity\VoiceBackRep.class
     文件         584  2018-02-02 11:13  javaHttpApiDemo\build\classes\com\miaodiyun\huiDiao\entity\VoiceBackResp.class
............此处省略57个文件信息

评论

共有 条评论