Showing
2 changed files
with
2 additions
and
2 deletions
@@ -54,7 +54,7 @@ exports.serverError = () => { | @@ -54,7 +54,7 @@ exports.serverError = () => { | ||
54 | return (err, req, res, next) => { | 54 | return (err, req, res, next) => { |
55 | forceNoCache(res); | 55 | forceNoCache(res); |
56 | const uid = req.user ? req.user.uid : 0; | 56 | const uid = req.user ? req.user.uid : 0; |
57 | - const udid = _.get(req, 'cookies.udid', 0); | 57 | + const udid = _.get(req, 'cookies.udid', 'yoho'); |
58 | 58 | ||
59 | if (req.isApmReport) { | 59 | if (req.isApmReport) { |
60 | // 上报服务端错误 | 60 | // 上报服务端错误 |
@@ -73,7 +73,7 @@ | @@ -73,7 +73,7 @@ | ||
73 | "xml2js": "^0.4.19", | 73 | "xml2js": "^0.4.19", |
74 | "yoho-express-session": "^2.0.0", | 74 | "yoho-express-session": "^2.0.0", |
75 | "yoho-md5": "^2.0.0", | 75 | "yoho-md5": "^2.0.0", |
76 | - "yoho-node-lib": "=0.5.34", | 76 | + "yoho-node-lib": "=0.5.35", |
77 | "yoho-zookeeper": "^1.0.8" | 77 | "yoho-zookeeper": "^1.0.8" |
78 | }, | 78 | }, |
79 | "devDependencies": { | 79 | "devDependencies": { |
-
Please register or login to post a comment