Authored by 陈轩

fix

... ... @@ -12,7 +12,7 @@ const co = require('bluebird').coroutine;
exports.beforeIn = (req, res, next) => {
// 将APP登录状态正常化
if (req.yoho.isApp && req.query.uid) {
req.user.uid = req.user.uid || req.query.uid;
req.user.uid = Number(req.user.uid || req.query.uid);
}
// 未登录
... ...