hch
6 天以前 7121b1c8c35af5396c4222f0f32a0373503b7bd1
0312 增加商店前后端表格不一致防范输出
1个文件已修改
5 ■■■■■ 已修改文件
Main/System/Store/StoreModel.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Store/StoreModel.cs
@@ -281,6 +281,11 @@
        for (int i = 0; i < netPack.ShopIDList.Length; i++)
        {
            var config = StoreConfig.Get((int)netPack.ShopIDList[i]);
            if (config == null)
            {
                Debug.LogError("前后端商店数据不一致");
                continue;
            }
            //UnlockType 2 由服务端通知
            StoreData storeData = new StoreData();
            storeData.shopId = config.ID;