mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 10:19:48 +08:00
【新增】首页弹出弹窗广告新增自定义上传图片和链接链接地址。
This commit is contained in:
@@ -109,7 +109,11 @@ 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 indexPopupWindowImageUrl = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.IndexPopupWindowImageUrl); //首页弹窗图片地址
|
||||
var indexPopupWindowHrefUrl = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.IndexPopupWindowHrefUrl); //显示首页弹窗
|
||||
|
||||
var showCustomForm = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowCustomForm).ObjectToInt(2); //显示自定义表单按钮
|
||||
|
||||
var imageMax = 5; //前端上传图片最多几张
|
||||
@@ -243,6 +247,8 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
||||
showSolitaire,
|
||||
showCalendar,
|
||||
showIndexPopupWindow,
|
||||
indexPopupWindowImageUrl,
|
||||
indexPopupWindowHrefUrl,
|
||||
showCustomForm
|
||||
};
|
||||
jm.data = model;
|
||||
|
||||
Reference in New Issue
Block a user