Authored by 郭成尧

Merge branch 'hotfix/paydetail' into 'release/6.5.2'

client_type-no-cookie



See merge request !1295
Showing 1 changed file with 1 additions and 2 deletions
... ... @@ -103,8 +103,7 @@ app.use((req, res, next) => {
// 判断请求是否来自app
req.yoho.isMiniApp = /miniProgram/i.test(req.get('User-Agent') || '') ||
req.query.client_type === 'miniapp' ||
req.cookies.app_client_type === 'miniapp';
req.query.client_type === 'miniapp';
req.yoho.isNowApp = /yohonow/i.test(req.get('User-Agent') || '');
req.yoho.isMarsApp = /yohomars/i.test(req.get('User-Agent') || '');
req.yoho.isYohoApp = /YohoBuy/i.test(req.get('User-Agent') || '');
... ...