...
|
...
|
@@ -294,6 +294,8 @@ const index = (req, res, next) => { |
|
|
isWeibo = req.yoho.isWeibo,
|
|
|
isShare;
|
|
|
|
|
|
res.locals.appPath = `yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.h5","params":{"id":"${id}","share":"/guang/api/v1/share/guang?id=${id}","shareparam":{"id":"${id}"},"islogin":"N","type":1,"url":"http://guang.m.yohobuy.com/info/index","param":{"id":"${id}"}}}`;
|
|
|
|
|
|
// pagecache 前端做
|
|
|
// userAgent = req.get('User-Agent'),
|
|
|
// isWeixin = userAgent.includes('MicroMessenger'); // 标识是否是微信访问
|
...
|
...
|
|