Authored by 郭成尧

ismarstrue-del

@@ -57,7 +57,6 @@ module.exports = () => { @@ -57,7 +57,6 @@ module.exports = () => {
57 57
58 // 判断请求是否来自app 58 // 判断请求是否来自app
59 yoho.isMarsApp = /yohomars/i.test(req.get('User-Agent') || ''); 59 yoho.isMarsApp = /yohomars/i.test(req.get('User-Agent') || '');
60 - yoho.isMarsApp = true;  
61 60
62 // 判断请求是否来自app 61 // 判断请求是否来自app
63 yoho.isApp = (req.query.app_version && req.query.app_version !== 'false') || 62 yoho.isApp = (req.query.app_version && req.query.app_version !== 'false') ||