【新增】增加控制个人中心【增值业务】【服务商品】【优惠券】【拼团】【团购】【接龙】【签到】按钮的展示。通过后台【商城设置】【平台设置】【特殊开关】开启和关闭。

This commit is contained in:
大灰灰
2022-09-25 01:13:24 +08:00
parent 647eb61ce5
commit 893fddddfc
5 changed files with 186 additions and 55 deletions

View File

@@ -534,14 +534,56 @@ namespace CoreCms.Net.Configuration
public const string PrivacyPolicy = "privacyPolicy";
/// <summary>
/// 显示门店列表
/// 显示充值功能
/// </summary>
public const string ShowStoreBalanceRechargeSwitch = "showStoreBalanceRechargeSwitch";
/// <summary>
/// 显示增值服务板块
/// </summary>
public const string ShowVas = "showVas";
/// <summary>
/// 显示门店列表按钮
/// </summary>
public const string ShowStoresSwitch = "showStoresSwitch";
/// <summary>
/// 显示充值功能
/// 显示服务商品按钮
/// </summary>
public const string ShowStoreBalanceRechargeSwitch = "showStoreBalanceRechargeSwitch";
public const string ShowServicePackage = "servicePackage";
/// <summary>
/// 显示优惠券按钮
/// </summary>
public const string ShowCoupon = "showCoupon";
/// <summary>
/// 显示拼团按钮
/// </summary>
public const string ShowPinTuan = "showPinTuan";
/// <summary>
/// 显示秒杀按钮
/// </summary>
public const string ShowSeckill = "showSeckill";
/// <summary>
/// 显示团购按钮
/// </summary>
public const string ShowGroupBuying = "showGroupBuying";
/// <summary>
/// 显示接龙按钮
/// </summary>
public const string ShowSolitaire = "showSolitaire";
/// <summary>
/// 显示签到按钮
/// </summary>
public const string ShowCalendar = "showCalendar";
//第三方接口============================================================================
/// <summary>

View File

@@ -45,15 +45,28 @@ namespace CoreCms.Net.Configuration
di.Add(SystemSettingConstVars.PrivacyPolicyId, new DictionaryKeyValues() { sKey = "隐私政策", sValue = "4" });
di.Add(SystemSettingConstVars.PrivacyPolicy, new DictionaryKeyValues() { sKey = "隐私政策", sValue = "" });
di.Add(SystemSettingConstVars.ShowStoresSwitch, new DictionaryKeyValues() { sKey = "显示门店列表", sValue = "2" });
//开关功能
di.Add(SystemSettingConstVars.ShowStoreBalanceRechargeSwitch, new DictionaryKeyValues() { sKey = "显示充值功能", sValue = "2" });
di.Add(SystemSettingConstVars.ShowVas, new DictionaryKeyValues() { sKey = "显示增值服务板块", sValue = "2" });
di.Add(SystemSettingConstVars.ShowStoresSwitch, new DictionaryKeyValues() { sKey = "显示门店列表", sValue = "2" });
di.Add(SystemSettingConstVars.ShowServicePackage, new DictionaryKeyValues() { sKey = "显示服务商品按钮", sValue = "2" });
di.Add(SystemSettingConstVars.ShowCoupon, new DictionaryKeyValues() { sKey = "显示优惠券按钮", sValue = "2" });
di.Add(SystemSettingConstVars.ShowPinTuan, new DictionaryKeyValues() { sKey = "显示拼团按钮", sValue = "2" });
di.Add(SystemSettingConstVars.ShowSeckill, new DictionaryKeyValues() { sKey = "显示秒杀按钮", sValue = "2" });
di.Add(SystemSettingConstVars.ShowGroupBuying, new DictionaryKeyValues() { sKey = "显示团购按钮", sValue = "2" });
di.Add(SystemSettingConstVars.ShowSolitaire, new DictionaryKeyValues() { sKey = "显示接龙按钮", sValue = "2" });
di.Add(SystemSettingConstVars.ShowCalendar, new DictionaryKeyValues() { sKey = "显示签到按钮", sValue = "2" });
//搜索发现关键字
di.Add(SystemSettingConstVars.RecommendKeys, new DictionaryKeyValues() { sKey = "搜索发现关键词", sValue = "核心,内容,管理,系统" });
//分享设置
di.Add(SystemSettingConstVars.ShareImage, new DictionaryKeyValues() { sKey = "分享图片", sValue = "" });
di.Add(SystemSettingConstVars.ShareTitle, new DictionaryKeyValues() { sKey = "分享标题", sValue = "优质好店邀您共享" });
di.Add(SystemSettingConstVars.ShareDesc, new DictionaryKeyValues() { sKey = "分享描述", sValue = "" });
//会员设置
di.Add(SystemSettingConstVars.ShopMobile, new DictionaryKeyValues() { sKey = "商家手机号", sValue = "" });
//1绑定2不绑定-第三方的登陆的时候,是否需要绑定手机号码,强烈建议用户开启,除非只在微信小程序内使用
@@ -75,8 +88,6 @@ namespace CoreCms.Net.Configuration
di.Add(SystemSettingConstVars.StoreOrderAutomaticDelivery, new DictionaryKeyValues() { sKey = "门店自提自动发货", sValue = "2" });
di.Add(SystemSettingConstVars.CommissionChannel, new DictionaryKeyValues() { sKey = "佣金计算通道", sValue = "1" });
//分销功能
@@ -205,7 +216,6 @@ namespace CoreCms.Net.Configuration
di.Add(SystemSettingConstVars.FilesStorageAliYunEndpoint, new DictionaryKeyValues() { sKey = "阿里云节点", sValue = "https://oss-cn-shenzhen.aliyuncs.com" });
di.Add(SystemSettingConstVars.FilesStorageAliYunBucketName, new DictionaryKeyValues() { sKey = "阿里云桶名称", sValue = "CoreShop" });
di.Add(SystemSettingConstVars.FilesStorageQiNiuBucketName, new DictionaryKeyValues() { sKey = "七牛云桶名称", sValue = "CoreShop" });
//短信发送内容模板