Authored by htoooth

fix udid

... ... @@ -54,7 +54,7 @@ exports.serverError = () => {
return (err, req, res, next) => {
forceNoCache(res);
const uid = req.user ? req.user.uid : 0;
const udid = _.get(req, 'cookies.udid', 0);
const udid = _.get(req, 'cookies.udid', 'yoho');
if (req.isApmReport) {
// 上报服务端错误
... ...
... ... @@ -73,7 +73,7 @@
"xml2js": "^0.4.19",
"yoho-express-session": "^2.0.0",
"yoho-md5": "^2.0.0",
"yoho-node-lib": "=0.5.34",
"yoho-node-lib": "=0.5.35",
"yoho-zookeeper": "^1.0.8"
},
"devDependencies": {
... ...