Browse Source

修改bug

lzx 1 day ago
parent
commit
512945afbb
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Assets/Scripts/GameUI/UI/BoxPanel/BoxPanel.cs

+ 5 - 0
Assets/Scripts/GameUI/UI/BoxPanel/BoxPanel.cs

@@ -64,6 +64,11 @@ namespace Fort23.Mono
                 }
 
                 List<ItemInfo> itemInfos = await PlayerManager.Instance.SummonManager.Summon(configId, 10);
+                
+                Dictionary<string, object> properties = new Dictionary<string, object>();
+                properties.Add("#IsFreeAds",PlayerManager.Instance.BagController.IsEnough(23002, 1));
+                DBManager.Instance.UpdateUserProperty(properties);
+                
                 if (!PlayerManager.Instance.BagController.IsEnough(23002, 1))
                 {
                     MarskPanel.ClosePanel();