【新增】短信功能增加【单IP每日发送量】限制,增加【IP白名单】【IP黑名单】功能,减少可能存在的恶意请求发送申请。

This commit is contained in:
jianweie code
2023-12-21 21:13:18 +08:00
parent de1b6c8015
commit 9d7bbb5fc0
7 changed files with 202 additions and 64 deletions

View File

@@ -45,6 +45,24 @@ namespace CoreCms.Net.Model.ViewModels.Sms
/// 短信签名
/// </summary>
public string Signature { get; set; }
/// <summary>
/// 短信单ip每日发送量
/// </summary>
public int SmsIpSendNumber { get; set; } = 20;
/// <summary>
/// 短信发送IP白名单
/// </summary>
public string SmsIpSendWhiteList { get; set; }
/// <summary>
/// 短信发送IP黑名单
/// </summary>
public string SmsIpSendBlackList { get; set; }
}
/// <summary>