mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 10:19:48 +08:00
【新增】增加首页【弹窗广告】开关,通过后台【商城设置】【平台设置】【特殊开关】开启和关闭。
This commit is contained in:
@@ -109,6 +109,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
||||
var showGroupBuying = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowGroupBuying).ObjectToInt(2); //显示团购按钮
|
||||
var showSolitaire = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowSolitaire).ObjectToInt(2); //显示接龙按钮
|
||||
var showCalendar = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowCalendar).ObjectToInt(2); //显示签到按钮
|
||||
var showIndexPopupWindow = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowIndexPopupWindow).ObjectToInt(2); //显示签到按钮
|
||||
|
||||
var imageMax = 5; //前端上传图片最多几张
|
||||
var storeSwitch = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.StoreSwitch).ObjectToInt(); //开启门店自提状态
|
||||
@@ -239,7 +240,8 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
||||
showSeckill,
|
||||
showGroupBuying,
|
||||
showSolitaire,
|
||||
showCalendar
|
||||
showCalendar,
|
||||
showIndexPopupWindow
|
||||
};
|
||||
jm.data = model;
|
||||
return jm;
|
||||
|
||||
Reference in New Issue
Block a user