【新增】增加首页【弹窗广告】开关,通过后台【商城设置】【平台设置】【特殊开关】开启和关闭。

This commit is contained in:
大灰灰
2022-09-25 20:00:48 +08:00
parent 8dad2e8bad
commit 772a8cebf0
5 changed files with 26 additions and 3 deletions

View File

@@ -584,6 +584,11 @@ namespace CoreCms.Net.Configuration
/// </summary>
public const string ShowCalendar = "showCalendar";
/// <summary>
/// 显示首页弹窗
/// </summary>
public const string ShowIndexPopupWindow = "showIndexPopupWindow";
//第三方接口============================================================================
/// <summary>

View File

@@ -58,6 +58,8 @@ namespace CoreCms.Net.Configuration
di.Add(SystemSettingConstVars.ShowSolitaire, new DictionaryKeyValues() { sKey = "显示接龙按钮", sValue = "2" });
di.Add(SystemSettingConstVars.ShowCalendar, new DictionaryKeyValues() { sKey = "显示签到按钮", sValue = "2" });
di.Add(SystemSettingConstVars.ShowIndexPopupWindow, new DictionaryKeyValues() { sKey = "显示首页弹窗", sValue = "2" });
//搜索发现关键字
di.Add(SystemSettingConstVars.RecommendKeys, new DictionaryKeyValues() { sKey = "搜索发现关键词", sValue = "核心,内容,管理,系统" });