mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:03:27 +08:00
【新增】短信功能增加【单IP每日发送量】限制,增加【IP白名单】【IP黑名单】功能,减少可能存在的恶意请求发送申请。
This commit is contained in:
@@ -220,6 +220,9 @@ namespace CoreCms.Net.Services
|
||||
sms.Password = GetValue(SystemSettingConstVars.SmsPassword, configs, settings);
|
||||
sms.Signature = GetValue(SystemSettingConstVars.SmsSignature, configs, settings);
|
||||
sms.ApiUrl = GetValue(SystemSettingConstVars.SmsApiUrl, configs, settings);
|
||||
sms.SmsIpSendNumber= GetValue(SystemSettingConstVars.SmsIpSendNumber, configs, settings).ObjectToInt(20);
|
||||
sms.SmsIpSendWhiteList = GetValue(SystemSettingConstVars.SmsIpSendWhiteList, configs, settings);
|
||||
sms.SmsIpSendBlackList = GetValue(SystemSettingConstVars.SmsIpSendBlackList, configs, settings);
|
||||
|
||||
return sms;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user