Authored by 陈峰

add user agent

... ... @@ -95,7 +95,8 @@ module.exports = (req, res, next) => {
type: durationType[item.tp]
},
fields: {
duration: duration
duration: duration,
useragent: req.get('user-agent')
}
}));
}
... ...