mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:03:27 +08:00
【新增】增加【用户提现】功能开关,前端根据设置限制访问,同时优化充值后台设置后前端的限制。
This commit is contained in:
@@ -536,6 +536,10 @@ namespace CoreCms.Net.Configuration
|
||||
/// </summary>
|
||||
public const string ShowStoreBalanceRechargeSwitch = "showStoreBalanceRechargeSwitch";
|
||||
|
||||
/// <summary>
|
||||
/// 是否允许提现
|
||||
/// </summary>
|
||||
public const string IsAllowWithdrawCash = "isAllowWithdrawCash";
|
||||
|
||||
/// <summary>
|
||||
/// 显示增值服务板块
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace CoreCms.Net.Configuration
|
||||
|
||||
//开关功能
|
||||
di.Add(SystemSettingConstVars.ShowStoreBalanceRechargeSwitch, new DictionaryKeyValues() { sKey = "显示充值功能", sValue = "2" });
|
||||
di.Add(SystemSettingConstVars.IsAllowWithdrawCash, new DictionaryKeyValues() { sKey = "是否允许提现", sValue = "2" });
|
||||
|
||||
di.Add(SystemSettingConstVars.ShowVas, new DictionaryKeyValues() { sKey = "显示增值服务板块", sValue = "2" });
|
||||
di.Add(SystemSettingConstVars.ShowStoresSwitch, new DictionaryKeyValues() { sKey = "显示门店列表", sValue = "2" });
|
||||
@@ -259,8 +260,6 @@ namespace CoreCms.Net.Configuration
|
||||
//小程序直播
|
||||
di.Add(SystemSettingConstVars.ShowLiveBroadCast, new DictionaryKeyValues() { sKey = "显示小程序直播入口", sValue = "2" });
|
||||
|
||||
|
||||
|
||||
return di;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user