【新增】用户体系:用户地址录入增加开关,可以控制是否启用地理位置坐标功能来获取经纬度。

This commit is contained in:
jianweie code
2024-10-17 23:35:29 +08:00
parent b6b5b1fa53
commit 5dd0de8d74
6 changed files with 42 additions and 4 deletions

View File

@@ -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;