From c322d95d20fd83762c4afd0d50a1d9b37deaba1c Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 22 八月 2018 10:49:39 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 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