构造函数
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/shop/setting/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/shop/setting/index.html
index d154f437..7fbebd0d 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/shop/setting/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/shop/setting/index.html
@@ -53,7 +53,8 @@
1、如果开启【显示门店列表】模块,则微信小程序审核如果发现可能会失败,并提示“【小程序涉及多个商家提供商品的在线交易及配送,请补充选择:电商平台-电商平台类目。】”,可先关闭,审核后再开启。
2、如果开启【显示充值】模块,则微信小程序审核如果发现可能会失败,并提示“【小程序页面内容涉及账户充值服务,需补充商家自营-预付卡销售-发行方类目。】”,可先关闭,审核后再开启。
- 2、如果开启【是否允许提现】模块,则微信小程序审核如果发现可能会失败,并提示“【小程序页面内容涉嫌收集用户信息,包括但不限于银行卡,手机号码等。】”,可先关闭,审核后再开启。
+ 3、如果开启【是否允许提现】模块,则微信小程序审核如果发现可能会失败,并提示“【小程序页面内容涉嫌收集用户信息,包括但不限于银行卡,手机号码等。】”,可先关闭,审核后再开启。
+ 4、如果关闭【用户地址开启坐标功能】模块,则用户在录入地址位置将不会走腾讯地图去获取坐标,“将导致【同城配送】订单模式下获取不到正确的公里数”,不要同城配送的可以关闭。
@@ -76,6 +77,13 @@
+
控制首页是否弹出弹窗广告
diff --git a/CoreCms.Net.Web.WebApi/Controllers/CommonController.cs b/CoreCms.Net.Web.WebApi/Controllers/CommonController.cs
index 8f07f1c7..41c29a17 100644
--- a/CoreCms.Net.Web.WebApi/Controllers/CommonController.cs
+++ b/CoreCms.Net.Web.WebApi/Controllers/CommonController.cs
@@ -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;
diff --git a/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.xml b/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.xml
index f89c4cfe..7e60327b 100644
--- a/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.xml
+++ b/CoreCms.Net.Web.WebApi/CoreCms.Net.Web.WebApi.xml
@@ -193,6 +193,12 @@
+