From b91321dd138dfbf906c05091bb78817ed3ad28dc Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 22 八月 2018 10:36:19 +0800
Subject: [PATCH] 1653【前端】开服礼包没有开启
---
System/OpenServerActivity/OSGiftModel.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/System/OpenServerActivity/OSGiftModel.cs b/System/OpenServerActivity/OSGiftModel.cs
index 97ccb56..8b748c1 100644
--- a/System/OpenServerActivity/OSGiftModel.cs
+++ b/System/OpenServerActivity/OSGiftModel.cs
@@ -103,7 +103,8 @@
{
return false;
}
- var _list = StoreConfig.GetTypeStoreModel((int)StoreFunc.OSGift);
+ List<StoreConfig> _list = null;
+ StoreConfig.TryGetStoreConfigs((int)StoreFunc.OSGift,out _list);
for (int i = 0; i < _list.Count; i++)
{
var _limit = storeModel.GetBuyShopLimit((uint)_list[i].ID);
--
Gitblit v1.8.0