【优化】数数创建角色时清空登录信息,
parent
14f5a85577
commit
55072e7094
|
|
@ -737,10 +737,10 @@ function this.GetExpertActiveisOpen()
|
||||||
return ExperType.LuckyCat
|
return ExperType.LuckyCat
|
||||||
end
|
end
|
||||||
-- 七日
|
-- 七日
|
||||||
local curActiveData = not not ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.EightDayGift)
|
-- local curActiveData = not not ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.EightDayGift)
|
||||||
if curActiveData then
|
-- if curActiveData then
|
||||||
return ExperType.SevenDay
|
-- return ExperType.SevenDay
|
||||||
end
|
-- end
|
||||||
--星级成长礼
|
--星级成长礼
|
||||||
if OperatingManager.IsHeroGiftActive() then
|
if OperatingManager.IsHeroGiftActive() then
|
||||||
return ExperType.StarGrowGift
|
return ExperType.StarGrowGift
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,10 @@ function this.Initialize()
|
||||||
-- 判断是否是注册并登录
|
-- 判断是否是注册并登录
|
||||||
if this.isRegister then
|
if this.isRegister then
|
||||||
this.isRegister = false
|
this.isRegister = false
|
||||||
|
-- 登出之前的账号
|
||||||
|
ThinkingAnalyticsManager.Logout()
|
||||||
|
ThinkingAnalyticsManager.ClearSuperProperties()
|
||||||
|
-- 开始
|
||||||
ThinkingAnalyticsManager.SetSuperProperties({
|
ThinkingAnalyticsManager.SetSuperProperties({
|
||||||
account = AppConst.isSDK and tostring(AppConst.OpenId) or "",
|
account = AppConst.isSDK and tostring(AppConst.OpenId) or "",
|
||||||
Bundle_id = AppConst.isSDK and AppConst.SdkPackageName or "",
|
Bundle_id = AppConst.isSDK and AppConst.SdkPackageName or "",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue