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

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

@@ -9,6 +9,8 @@
***********************************************************************/
using static SKIT.FlurlHttpClient.Wechat.Api.Models.ChannelsECMerchantAddressAddRequest.Types.AddressDetail.Types;
namespace CoreCms.Net.Configuration
{
/// <summary>
@@ -591,6 +593,11 @@ namespace CoreCms.Net.Configuration
/// </summary>
public const string ShowCustomForm = "showCustomForm";
/// <summary>
/// 用户地址开启坐标功能
/// </summary>
public const string AllowAddressToUseMap = "allowAddressToUseMap";
/// <summary>
/// 显示首页弹窗

View File

@@ -64,6 +64,7 @@ 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.ShowCustomForm, new DictionaryKeyValues() { sKey = "显示自定义表单按钮", sValue = "2" });
di.Add(SystemSettingConstVars.AllowAddressToUseMap, new DictionaryKeyValues() { sKey = "用户地址开启坐标", sValue = "1" });
di.Add(SystemSettingConstVars.ShowIndexPopupWindow, new DictionaryKeyValues() { sKey = "显示首页弹窗", sValue = "2" });
di.Add(SystemSettingConstVars.IndexPopupWindowImageUrl, new DictionaryKeyValues() { sKey = "图片地址", sValue = "" });