All Projects → cn-src → aliyun-sms

cn-src / aliyun-sms

Licence: Apache-2.0 License
阿里云 SMS 短信 Java SDK 封装

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to aliyun-sms

Spring Boot Quick
🌿 基于springboot的快速学习示例,整合自己遇到的开源框架,如:rabbitmq(延迟队列)、Kafka、jpa、redies、oauth2、swagger、jsp、docker、spring-batch、异常处理、日志输出、多模块开发、多环境打包、缓存cache、爬虫、jwt、GraphQL、dubbo、zookeeper和Async等等📌
Stars: ✭ 1,819 (+2614.93%)
Mutual labels:  springboot, aliyun
Api Boot
“ ApiBoot”是为接口服务而生的,基于“ SpringBoot”完成扩展和自动配置,内部封装了一系列的开箱即用Starters。
Stars: ✭ 460 (+586.57%)
Mutual labels:  sms, springboot
dysms
阿里短信接口
Stars: ✭ 68 (+1.49%)
Mutual labels:  sms, aliyun
kavenegar-php
Kavenegar API Client Writen In PHP
Stars: ✭ 45 (-32.84%)
Mutual labels:  sms
job-plus
Job Plus项目是基于SpringBoot+Vue的轻量级定时任务管理系统
Stars: ✭ 17 (-74.63%)
Mutual labels:  springboot
RomanceBreaker
Python script which sends a custom morning message to your significant other every morning at a given time range on Facebook Messenger, WhatsApp, Telegram or SMS, for lazy people
Stars: ✭ 36 (-46.27%)
Mutual labels:  sms
sample-template-nodejs
A template repository serving as the base for new Twilio sample apps
Stars: ✭ 16 (-76.12%)
Mutual labels:  sms
NeusoftCloudHospital
东软云医院。爱与健康,连接你我。🏥
Stars: ✭ 37 (-44.78%)
Mutual labels:  springboot
mzt-biz-log
支持Springboot,基于注解的可使用变量、可以自定义函数的通用操作日志组件
Stars: ✭ 628 (+837.31%)
Mutual labels:  springboot
rurality
开源运维平台设计及开发样例、CMS、RBAC、python开发教程、管理系统设计及开发样例、jenkinsfile(pipeline)/ansible使用教程,一切想到的,想不到的,应有尽有
Stars: ✭ 51 (-23.88%)
Mutual labels:  aliyun
ucp
UCP protocol in Go
Stars: ✭ 40 (-40.3%)
Mutual labels:  sms
Online-Testing-Platform
在线考试系统 colleges online examination system base on spring-boot and MyBatis
Stars: ✭ 21 (-68.66%)
Mutual labels:  springboot
cert-manager-alidns-webhook
Cert-manager webhook to generate Let's Encrypt certificates over Alibaba Cloud DNS.
Stars: ✭ 31 (-53.73%)
Mutual labels:  aliyun
ohd
Garage Door Monitor (OverHeadDoor) - Python3, Raspbian
Stars: ✭ 126 (+88.06%)
Mutual labels:  sms
subtitles-view
基于javaFX的简单字幕处理桌面程序,集成在线翻译及语音转换
Stars: ✭ 368 (+449.25%)
Mutual labels:  springboot
file management sys
file_management_sys 是一个文件共享系统,包括前端文件展示系统和后台管理系统,基于SpringBoot + MyBatis实现。前端文件展示系统包括文件分类和展示界面,文件搜索和文件上传等模块。后台管理系统包含文件管理,权限管理等模块。
Stars: ✭ 60 (-10.45%)
Mutual labels:  springboot
totalvoice-php
Client em PHP para API da Totalvoice
Stars: ✭ 30 (-55.22%)
Mutual labels:  sms
learn-java-demo
java学习demo
Stars: ✭ 17 (-74.63%)
Mutual labels:  springboot
SpringBootIntegration
SpringBoot集成学习项目 SpringBoot Integration
Stars: ✭ 20 (-70.15%)
Mutual labels:  springboot
agile-wroking-backend
AgileWorking 是一个团队协作的微信小程序,此工程为小程序的后台实现
Stars: ✭ 67 (+0%)
Mutual labels:  springboot

License Maven Central Build Status

aliyun-sms

阿里云 SMS 短信 Java SDK 封装

Github & Issues: https://github.com/cn-src/aliyun-sms

使用

  1. 添加依赖
<dependency>
    <groupId>cn.javaer.aliyun</groupId>
    <artifactId>aliyun-sms</artifactId>
    <version>1.2.0</version>
</dependency>
  1. 样例
SmsClient smsClient = new SmsClient(accessKeyId, accessKeySecret);
SmsTemplate smsTemplate = SmsTemplate.builder()
            .signName(signName)
            .templateCode(templateCode)
            .addTemplateParam("code", "123456")
            .phoneNumbers(phoneNumber)
            .build();
smsClient.send(smsTemplate);            

spring boot 集成

  1. 添加依赖
<dependency>
    <groupId>cn.javaer.aliyun</groupId>
    <artifactId>aliyun-spring-boot-starter-sms</artifactId>
    <version>1.2.0</version>
</dependency>
  1. 配置
aliyun.sms.accessKeyId=
aliyun.sms.accessKeySecret=
aliyun.sms.signName=
aliyun.sms.templates.key1.templateCode=
  1. 样例
    @Autowired
    private SmsClient smsClient;

官方文档:https://help.aliyun.com/document_detail/55284.html?spm=5176.8195934.1001856.3.5cd64183fNqodO

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].