Authored by weiqingting

测试 uid

@@ -97,6 +97,7 @@ const getPlatForm = (req) => { @@ -97,6 +97,7 @@ const getPlatForm = (req) => {
97 let isNewVersion = false; 97 let isNewVersion = false;
98 const isProduction = process.env.NODE_ENV === 'production'; 98 const isProduction = process.env.NODE_ENV === 'production';
99 99
  100 + console.log(uids);
100 yoho.isiOS = /\(i[^;]+;( U;)? CPU.+Mac OS X/i.test(userAgent); 101 yoho.isiOS = /\(i[^;]+;( U;)? CPU.+Mac OS X/i.test(userAgent);
101 yoho.isAndroid = /Android/i.test(userAgent); 102 yoho.isAndroid = /Android/i.test(userAgent);
102 yoho.isApp = /YohoBuy/i.test(req.get('User-Agent')) || (req.query.app_version && req.query.client_type); 103 yoho.isApp = /YohoBuy/i.test(req.get('User-Agent')) || (req.query.app_version && req.query.client_type);