【修复】修复后台管理签到设置默认值类型错误的问题。

This commit is contained in:
大灰灰
2024-09-11 11:11:05 +08:00
parent 2bcd31e924
commit 090d5c6f57

View File

@@ -211,7 +211,7 @@ namespace CoreCms.Net.Configuration
//短信通用设置
di.Add(SystemSettingConstVars.SmsEnabled, new DictionaryKeyValues() { sKey = "是否开启短信", sValue = "1" });
// 1凯信通 2阿里云
di.Add(SystemSettingConstVars.SmsType, new DictionaryKeyValues() { sKey = "短信类型", sValue = "1" });
di.Add(SystemSettingConstVars.SmsType, new DictionaryKeyValues() { sKey = "短信类型", sValue = "1" });
di.Add(SystemSettingConstVars.SmsUserId, new DictionaryKeyValues() { sKey = "用户ID", sValue = "" });
di.Add(SystemSettingConstVars.SmsAccount, new DictionaryKeyValues() { sKey = "账号AppKey", sValue = "" });
@@ -278,8 +278,8 @@ namespace CoreCms.Net.Configuration
di.Add(SystemSettingConstVars.CheckInIsAlert, new DictionaryKeyValues() { sKey = "是否签到提醒", sValue = "1" });
di.Add(SystemSettingConstVars.CheckInAlertTime, new DictionaryKeyValues() { sKey = "签到提醒时间", sValue = "08:00:00" });
di.Add(SystemSettingConstVars.CheckInCommonNum, new DictionaryKeyValues() { sKey = "签到赠送", sValue = "0" });
di.Add(SystemSettingConstVars.CheckInCommonType, new DictionaryKeyValues() { sKey = "签到赠送类型", sValue = GlobalEnumVars.CheckInCommonType..ToString() });
di.Add(SystemSettingConstVars.ContinuousCheckInPeriodType, new DictionaryKeyValues() { sKey = "连续签到周期", sValue = GlobalEnumVars.ContinuousCheckInPeriodType..ToString() });
di.Add(SystemSettingConstVars.CheckInCommonType, new DictionaryKeyValues() { sKey = "签到赠送类型", sValue = ((int)GlobalEnumVars.CheckInCommonType.).ToString() });
di.Add(SystemSettingConstVars.ContinuousCheckInPeriodType, new DictionaryKeyValues() { sKey = "连续签到周期", sValue = ((int)GlobalEnumVars.ContinuousCheckInPeriodType.).ToString() });
//小程序直播
di.Add(SystemSettingConstVars.ShowLiveBroadCast, new DictionaryKeyValues() { sKey = "显示小程序直播入口", sValue = "2" });