【新增】增加【用户提现】功能开关,前端根据设置限制访问,同时优化充值后台设置后前端的限制。

This commit is contained in:
jianweie code
2023-11-18 19:33:38 +08:00
parent 3b93ccbf0b
commit 33bd32870e
7 changed files with 50 additions and 8 deletions

View File

@@ -536,6 +536,10 @@ namespace CoreCms.Net.Configuration
/// </summary>
public const string ShowStoreBalanceRechargeSwitch = "showStoreBalanceRechargeSwitch";
/// <summary>
/// 是否允许提现
/// </summary>
public const string IsAllowWithdrawCash = "isAllowWithdrawCash";
/// <summary>
/// 显示增值服务板块

View File

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