MicroCloud.Pack.SMS
8.0.2.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MicroCloud.Pack.SMS --version 8.0.2.5
NuGet\Install-Package MicroCloud.Pack.SMS -Version 8.0.2.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MicroCloud.Pack.SMS" Version="8.0.2.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MicroCloud.Pack.SMS --version 8.0.2.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MicroCloud.Pack.SMS, 8.0.2.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MicroCloud.Pack.SMS as a Cake Addin #addin nuget:?package=MicroCloud.Pack.SMS&version=8.0.2.5 // Install MicroCloud.Pack.SMS as a Cake Tool #tool nuget:?package=MicroCloud.Pack.SMS&version=8.0.2.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MicroCloud 短信模块
说明
MicroCloud 短信模块,封装基于 MicroCloud 短信组件的功能实现。
用法
可按照如下配置方式使用:
- 通过nuget引用
MicroCloud.Pack.SMS
程序集
Install-Package MicroCloud.Pack.SMS
- 在
appsettings.json
中添加如下配置节点
{
"SMS": {
"Provider": "YFXYT", //短信服务提供商:"Aliyun"-阿里云、"YFXYT"-逸峰信盈通
"Id": "服务商授权ID", //服务商授权ID:联系服务商获取
"Secret": "服务商授权密钥", //服务商授权密钥:联系服务商获取
"SignName": "短信签名名称", //短信签名名称:联系服务商设置并获取
"VerifyCodeTemplate": "验证码短信模板", //验证码短信模板:联系服务商设置并获取,逸峰信盈通不需要
"VerifyCodeTempParam": "{{\"code\":\"{0}\"}}", //验证码短信模板参数:联系服务商设置并获取,逸峰信盈通不需要
"VerifyCodeSMS": "尊敬的用户您好,您的验证码:{0},{1}分钟有效,请及时操作,祝您生活愉快!", //验证码短信内容,{0} 表示为验证码内容,{1}表示为有效分钟数
"NoticeTemplate": "通知短信模板", //通知短信模板
"NoticeTempParam": "{{\"customer\":\"{0}\",\"code\":\"{1}\",\"mins\":\"{2}\"}}", //通知短信模板参数
"PromoteTemplate": "推广短信模板", //推广短信模板
"VerifyCodeExpireMins": 3, //验证码有效期分钟数
"LimitOfNumberDay": 999 //1个自然日内短信发送条数限制
}
}
- Provider属性为短信服务提供商,目前只支持阿里云 "Aliyun",峰逸云信通 "YFXYT"。
交流
QQ群号:863605868 | 微信号:SeonHu |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- MicroCloud.EntityFrameworkCore (>= 8.0.2.5)
- MicroCloud.SMS (>= 8.0.2.5)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on MicroCloud.Pack.SMS:
Package | Downloads |
---|---|
MicroCloud.Pack.Identity
MicroCloud 身份认证模块,封装基于 MicroCloud 身份认证组件的功能实现。 |
|
MicroCloud.Api.SMS
MicroCloud 短信模块API,封装基于 MicroCloud 短信模块的WebApi实现。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.3.1 | 180 | 9/9/2024 |
8.0.2.9 | 173 | 9/5/2024 |
8.0.2.8 | 169 | 8/31/2024 |
8.0.2.7 | 172 | 8/31/2024 |
8.0.2.6 | 176 | 8/21/2024 |
8.0.2.5 | 180 | 8/21/2024 |
8.0.2.4 | 165 | 8/12/2024 |
8.0.2.3 | 166 | 8/8/2024 |
8.0.2.2 | 160 | 7/14/2024 |
8.0.2.1 | 149 | 6/7/2024 |
8.0.1.9 | 156 | 6/6/2024 |
8.0.1.8 | 139 | 6/6/2024 |
8.0.1.7 | 168 | 5/15/2024 |
8.0.1.6 | 130 | 5/15/2024 |
8.0.1.5 | 137 | 5/15/2024 |
8.0.1.4 | 142 | 5/14/2024 |
8.0.1.3 | 149 | 5/10/2024 |
8.0.1.2 | 177 | 5/8/2024 |
8.0.1.1 | 180 | 5/7/2024 |
8.0.0.9 | 173 | 5/1/2024 |
8.0.0.8 | 184 | 5/1/2024 |
8.0.0.7 | 191 | 4/30/2024 |
8.0.0.5 | 183 | 4/19/2024 |
8.0.0.4 | 159 | 4/18/2024 |
8.0.0.3 | 188 | 4/15/2024 |
8.0.0.2 | 187 | 4/12/2024 |
8.0.0.1 | 161 | 4/12/2024 |
7.2.0.8 | 179 | 4/12/2024 |
7.2.0.7 | 178 | 4/12/2024 |
7.2.0.6 | 153 | 4/12/2024 |
7.2.0.5 | 182 | 4/12/2024 |
7.2.0.4 | 188 | 4/11/2024 |
7.2.0.2 | 245 | 4/7/2024 |
7.2.0.1 | 399 | 10/26/2023 |
7.1.2.9 | 109 | 11/7/2023 |
7.1.2.8 | 144 | 10/19/2023 |
7.1.2.7 | 127 | 10/19/2023 |
7.1.2.6 | 141 | 10/18/2023 |
7.1.2.5 | 159 | 9/20/2023 |
7.1.2.4 | 136 | 9/20/2023 |
7.0.2.7 | 288 | 5/12/2023 |
7.0.2.6 | 268 | 5/11/2023 |
7.0.1.7 | 283 | 5/9/2023 |
7.0.1.6 | 264 | 5/9/2023 |
7.0.1.4 | 302 | 4/24/2023 |
7.0.1.3 | 304 | 4/19/2023 |
7.0.1.2 | 345 | 4/19/2023 |
7.0.0.9 | 279 | 4/18/2023 |
7.0.0.8 | 270 | 4/17/2023 |
7.0.0.7 | 342 | 4/12/2023 |
7.0.0.6 | 337 | 4/8/2023 |
7.0.0.5 | 324 | 4/7/2023 |
7.0.0.4 | 353 | 4/7/2023 |
7.0.0.3 | 341 | 4/7/2023 |