...
|
...
|
@@ -64,6 +64,10 @@ module.exports = () => { |
|
|
yoho.isqq = /MQQBrowser/i.test(req.get('User-Agent') || '');
|
|
|
yoho.isMarsApp = /yohomars/i.test(req.get('User-Agent') || '');
|
|
|
|
|
|
if (yoho.isMarsApp) {
|
|
|
yoho.isApp = false;
|
|
|
}
|
|
|
|
|
|
Object.assign(res.locals, yoho);
|
|
|
Object.assign(req.yoho, yoho);
|
|
|
|
...
|
...
|
|