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

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

@@ -99,6 +99,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers
var shopBeiAn = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShopBeiAn); //店铺备案
var shopDesc = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShopDesc); //店铺描述
var showStoreBalanceRechargeSwitch = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowStoreBalanceRechargeSwitch).ObjectToInt(2); //显示充值功能
var isAllowWithdrawCash = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.IsAllowWithdrawCash).ObjectToInt(2); //显示充值功能
var showStoresSwitch = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowStoresSwitch).ObjectToInt(2); //显示门店列表
var showVas = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.ShowVas).ObjectToInt(2); //显示增值服务板块
@@ -197,6 +198,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers
storeSwitch,
showStoresSwitch,
showStoreBalanceRechargeSwitch,
isAllowWithdrawCash,
cateStyle,
cateType,
toCashMoneyLow,