【优化】数数创建角色时清空登录信息,

dev_chengFeng
JieLing 2021-01-09 13:51:43 +08:00
parent 14f5a85577
commit 55072e7094
2 changed files with 8 additions and 4 deletions

View File

@ -737,10 +737,10 @@ function this.GetExpertActiveisOpen()
return ExperType.LuckyCat
end
-- 七日
local curActiveData = not not ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.EightDayGift)
if curActiveData then
return ExperType.SevenDay
end
-- local curActiveData = not not ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.EightDayGift)
-- if curActiveData then
-- return ExperType.SevenDay
-- end
--星级成长礼
if OperatingManager.IsHeroGiftActive() then
return ExperType.StarGrowGift

View File

@ -41,6 +41,10 @@ function this.Initialize()
-- 判断是否是注册并登录
if this.isRegister then
this.isRegister = false
-- 登出之前的账号
ThinkingAnalyticsManager.Logout()
ThinkingAnalyticsManager.ClearSuperProperties()
-- 开始
ThinkingAnalyticsManager.SetSuperProperties({
account = AppConst.isSDK and tostring(AppConst.OpenId) or "",
Bundle_id = AppConst.isSDK and AppConst.SdkPackageName or "",