埋点:修复报告玩家在线时间
This commit is contained in:
@@ -207,7 +207,7 @@ export class EntryHandler {
|
|||||||
savePlayTime(roleInfo.userCode);
|
savePlayTime(roleInfo.userCode);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
reportTAUserSet(TA_USERSET_TYPE.ADD, roleId, nowSeconds() - loginTime);
|
reportTAUserSet(TA_USERSET_TYPE.ADD, roleId, { total_play_time: nowSeconds() - loginTime });
|
||||||
rmRoleFromQueue(roleId, sid, COM_BTL_QUALITY, null); // 删除redis中寻宝的匹配记录
|
rmRoleFromQueue(roleId, sid, COM_BTL_QUALITY, null); // 删除redis中寻宝的匹配记录
|
||||||
let channelService = this.app.get('channelService');
|
let channelService = this.app.get('channelService');
|
||||||
let channel = channelService.getChannel(roleId, true);
|
let channel = channelService.getChannel(roleId, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user