EaCloud.Pack.SMS
9.0.1.1
dotnet add package EaCloud.Pack.SMS --version 9.0.1.1
NuGet\Install-Package EaCloud.Pack.SMS -Version 9.0.1.1
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="EaCloud.Pack.SMS" Version="9.0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EaCloud.Pack.SMS" Version="9.0.1.1" />
<PackageReference Include="EaCloud.Pack.SMS" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EaCloud.Pack.SMS --version 9.0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EaCloud.Pack.SMS, 9.0.1.1"
#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.
#:package EaCloud.Pack.SMS@9.0.1.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EaCloud.Pack.SMS&version=9.0.1.1
#tool nuget:?package=EaCloud.Pack.SMS&version=9.0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EaCloud 短信模块
说明
EaCloud 短信模块,封装基于 EaCloud 短信组件的功能实现。
用法
可按照如下配置方式使用:
- 通过nuget引用
EaCloud.Pack.SMS程序集
Install-Package EaCloud.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 | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- EaCloud.EntityFrameworkCore (>= 9.0.1.1)
- EaCloud.SMS (>= 9.0.1.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on EaCloud.Pack.SMS:
| Package | Downloads |
|---|---|
|
EaCloud.Pack.Identity
EaCloud 身份认证模块,封装基于 EaCloud 身份认证组件的功能实现。 |
|
|
EaCloud.Api.SMS
EaCloud 短信模块API,封装基于 EaCloud 短信模块的WebApi实现。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.1.1 | 536 | 10/22/2025 |
| 9.0.0.9 | 474 | 8/12/2025 |
| 9.0.0.8 | 380 | 7/5/2025 |
| 9.0.0.7 | 505 | 6/25/2025 |
| 9.0.0.6 | 509 | 6/18/2025 |
| 9.0.0.5 | 490 | 6/14/2025 |
| 9.0.0.4 | 509 | 5/8/2025 |
| 9.0.0.3 | 512 | 4/23/2025 |
| 9.0.0.2 | 513 | 4/11/2025 |
| 9.0.0.1 | 479 | 3/21/2025 |
| 8.0.1.9 | 532 | 11/15/2024 |
| 8.0.1.8 | 494 | 11/13/2024 |
| 8.0.1.7 | 526 | 10/9/2024 |
| 8.0.1.6 | 519 | 9/29/2024 |
| 8.0.1.5 | 570 | 9/13/2024 |
| 8.0.1.4 | 586 | 8/10/2024 |
| 8.0.1.3 | 544 | 8/7/2024 |
| 8.0.1.2 | 618 | 8/7/2024 |
| 8.0.1.1 | 534 | 8/7/2024 |
| 8.0.0.9 | 560 | 8/7/2024 |
Loading failed

