qcloud-sms-spring-boot-starter

spring boot starter for qcloud sms

License

License

Categories

Categories

Spring Boot Container Microservices
GroupId

GroupId

com.github.zhangquanli
ArtifactId

ArtifactId

qcloud-sms-spring-boot-starter
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

qcloud-sms-spring-boot-starter
spring boot starter for qcloud sms
Project URL

Project URL

https://github.com/zhangquanli/qcloud-sms-spring-boot-starter
Source Code Management

Source Code Management

https://github.com/zhangquanli/qcloud-sms-spring-boot-starter

Download qcloud-sms-spring-boot-starter

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.zhangquanli/qcloud-sms-spring-boot-starter/ -->
<dependency>
    <groupId>com.github.zhangquanli</groupId>
    <artifactId>qcloud-sms-spring-boot-starter</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.zhangquanli/qcloud-sms-spring-boot-starter/
implementation 'com.github.zhangquanli:qcloud-sms-spring-boot-starter:1.0.2'
// https://jarcasting.com/artifacts/com.github.zhangquanli/qcloud-sms-spring-boot-starter/
implementation ("com.github.zhangquanli:qcloud-sms-spring-boot-starter:1.0.2")
'com.github.zhangquanli:qcloud-sms-spring-boot-starter:jar:1.0.2'
<dependency org="com.github.zhangquanli" name="qcloud-sms-spring-boot-starter" rev="1.0.2">
  <artifact name="qcloud-sms-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.zhangquanli', module='qcloud-sms-spring-boot-starter', version='1.0.2')
)
libraryDependencies += "com.github.zhangquanli" % "qcloud-sms-spring-boot-starter" % "1.0.2"
[com.github.zhangquanli/qcloud-sms-spring-boot-starter "1.0.2"]

Dependencies

compile (5)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter Optional jar 2.2.0.RELEASE
org.springframework.boot : spring-boot-configuration-processor Optional jar 2.2.0.RELEASE
com.squareup.okhttp3 : okhttp jar 3.14.4
com.fasterxml.jackson.core : jackson-databind jar 2.10.0
commons-codec : commons-codec jar 1.13

Project Modules

There are no modules declared in this project.

qcloud-sms-spring-boot-starter

基于 Spring Boot 框架,快速集成【腾讯云】【短信】服务

快速集成

  1. pom.xml 文件中引入依赖
    <dependency>
        <groupId>com.github.zhangquanli</groupId>
        <artifactId>qcloud-sms-spring-boot-starter</artifactId>
        <version>1.0.2</version>
    </dependency>
  2. application.propertiesapplication.yml 文件中,进行配置
    qcloud.sms.app-id=appId
    qcloud.sms.app-key=appKey
    qcloud:
      sms:
        app-id: appId
        app-key: appKey

快速开发

  1. Spring Boot 项目中,可以直接注入 QcloudSms 接口
    @Resource
    private QcloudSms qcloudSms;
  2. 使用 QcloudSms 接口中的方法

更新日志

1.0.2

  1. 重构代码实现,优化请求构造

1.0.1

  1. 增加日志记录

1.0.0

  1. 封装【腾讯云】【短信】服务相关接口

Versions

Version
1.0.2
1.0.1
1.0.0