Authored by htoo

hotfix: add indx and udid

... ... @@ -155,6 +155,12 @@ app.use((req, res, next) => {
domain: 'yohobuy.com',
expires: new Date(Date.now() + 365 * 24 * 60 * 60 * 1000)
});
res.cookie('udid', udid, {
domain: 'yoho.cn',
expires: new Date(Date.now() + 365 * 24 * 60 * 60 * 1000)
});
req.cookies.udid = udid;
}
next();
... ...
... ... @@ -1327,6 +1327,7 @@ function getUid() {
// 闲鱼内 点击类事件 埋点上报 初始化
function initAppBaseLogs() {
window.indx = 1;
window.appBaseLogs = {
status: [
{
... ...