浏览代码

修改bug

lzx 2 天之前
父节点
当前提交
512945afbb
共有 1 个文件被更改,包括 5 次插入0 次删除
  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();