mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:13:26 +08:00
【新增】用户体系:用户地址录入增加开关,可以控制是否启用地理位置坐标功能来获取经纬度。
This commit is contained in:
@@ -112,6 +112,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
||||
var showSolitaire = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowSolitaire).ObjectToInt(2); //显示接龙按钮
|
||||
var showCalendar = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowCalendar).ObjectToInt(2); //显示签到按钮
|
||||
var showLiveBroadCast = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowLiveBroadCast).ObjectToInt(2); //显示小程序直播入口
|
||||
var allowAddressToUseMap = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.AllowAddressToUseMap).ObjectToInt(2); //用户地址开启坐标功能
|
||||
|
||||
var showIndexPopupWindow = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowIndexPopupWindow).ObjectToInt(2); //显示首页弹窗
|
||||
var indexPopupWindowImageUrl = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.IndexPopupWindowImageUrl); //首页弹窗图片地址
|
||||
@@ -254,7 +255,8 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
||||
indexPopupWindowImageUrl,
|
||||
indexPopupWindowHrefUrl,
|
||||
showCustomForm,
|
||||
showLiveBroadCast
|
||||
showLiveBroadCast,
|
||||
allowAddressToUseMap
|
||||
};
|
||||
jm.data = model;
|
||||
return jm;
|
||||
|
||||
Reference in New Issue
Block a user