From 2df58aeacbf1177ec01167bdeccfe89d6a8d5804 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 13 二月 2019 14:20:28 +0800
Subject: [PATCH] 3335 配置表读取重构,修改配置表读取接口1
---
System/KnapSack/FBHelpPointExchageModel.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/KnapSack/FBHelpPointExchageModel.cs b/System/KnapSack/FBHelpPointExchageModel.cs
index b94e827..82fecb9 100644
--- a/System/KnapSack/FBHelpPointExchageModel.cs
+++ b/System/KnapSack/FBHelpPointExchageModel.cs
@@ -157,7 +157,7 @@
for(int i = 0; i < helpPointShoplist.Count; i++)
{
var shopId = helpPointShoplist[i];
- StoreConfig storeConfig = Config.Instance.Get<StoreConfig>(shopId);
+ StoreConfig storeConfig = StoreConfig.Get(shopId);
int remainNum = 0;
ulong haveMoney = UIHelper.GetMoneyCnt(storeConfig.MoneyType);
bool isEnoughMoney = haveMoney >= (ulong)storeConfig.MoneyNumber ? true : false;
@@ -192,7 +192,7 @@
private void UpdateHelpPointShop(int shopId)
{
- StoreConfig storeConfig = Config.Instance.Get<StoreConfig>(shopId);
+ StoreConfig storeConfig = StoreConfig.Get(shopId);
if (storeConfig == null) return;
if(!IsAlreadPush(shopId))
--
Gitblit v1.8.0