待续。。网站app后台还未完成,不能添加签名,短信不能正常发送。

Tip: https://help.aliyun.com/document_detail/55284.html?spm=5176.sms-account.0.0.63931cbeYBbL8t

1、创建阿里云账号

点击阿里大于的官网:https://dayu.aliyun.com/

注册账户后,进行实名认证(开通短信服务需要)。

找到管理控制台,选择“短信服务”,然后进行以下操作

2、 获取阿里云访问密钥

https://usercenter.console.aliyun.com/#/manage/ak

3、在控制台完成模板与签名的申请,获得调用接口必备的参数

1)添加模板:

国内消息-->文本短信-->模版管理

https://help.aliyun.com/document_detail/55330.html?spm=5176.sms-account.103.7.1bf31cbegoZOOl

提交后,等待审核通过。

2)申请短信签名,这步可以不设置(我自己的未通过。。)

国内消息-->文本短信-->签名管理

https://help.aliyun.com/document_detail/55327.html?spm=a2c4g.11186623.6.555.4ab87b69QfaM0L

4、开发阶段:

添加依赖:

<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<version>4.0.6</version></dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-dysmsapi</artifactId>
<version>1.1.0</version>
</dependency>

最新文章

  1. nginx.conf的events,http段一般固定配置
  2. 使用的组件:Jcrop
  3. 重新签名IPA ( iPhone )
  4. Emblog 备忘
  5. 三分钟部署Laxcus大数据管理系统
  6. [LeetCode][Python]Container With Most Water
  7. html mysql special character
  8. C++移动构造函数以及move语句简单介绍
  9. 洛谷P1226 【模板】快速幂||取余运算
  10. MySQL 5.7--复制延迟监控
  11. 第16章 STM32中断应用概览
  12. 缓慢变化维 (Slowly Changing Dimension) 常见的三种类型及原型设计(转)
  13. MongoDB(课时10 数组)
  14. Accelerated C++学习笔记7—&amp;lt;使用库算法&amp;gt;
  15. js冒泡法和数组转换成字符串
  16. c++中子类转父类,父类转子类
  17. MySQL之函数
  18. 【题解】HNOI2017大佬
  19. OpenStack之虚机热迁移
  20. zookeeper 下载安装

热门文章

  1. PyCharm 代码行出现多余的数字
  2. Python3中bytes和HexStr之间的转换
  3. 微服务项目开发学成在线_day02 CMS前端开发
  4. ZJNU 1699 - Bits
  5. PowerShell-Selenium技术实时调试和操作Chrome浏览器
  6. Python 学习笔记:Python 中单引号(&#39;)、双引号(&quot;)、三引号(&#39;&#39;&#39;,&quot;&quot;&quot;)的使用以及不转义字符串
  7. TPO1-2 The Origin of Theater
  8. [GX/GZOI2019]与或和(单调栈+按位运算)
  9. html5 一些好用的原生事件
  10. Qt LNK1112: 模块计算机类型“x64”与目标计算机类型“X86”冲突问题