上报字段统一一下

This commit is contained in:
chenxi 2023-06-15 18:46:32 +08:00
parent 187f832129
commit b48bb85c5f

View File

@ -22,11 +22,11 @@ function ItemData:init(data)
for _, info in pairs(data.items) do
if info.id == GConst.ItemConst.ITEM_ID_GEM then
local parmas = {}
parmas.gem = info.count
parmas.user_gem = info.count
CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(parmas)
elseif info.id == GConst.ItemConst.ITEM_ID_GOLD then
local parmas = {}
parmas.gold = info.count
parmas.user_gold = info.count
CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(parmas)
end
if info.id == GConst.ItemConst.ITEM_ID_VIT then