...
|
...
|
@@ -75,11 +75,15 @@ const getDetailData = (req, res, next) => { |
|
|
let userAgent = req.get('User-Agent');
|
|
|
let isWeixin = userAgent.includes('MicroMessenger'); // 标识是否是微信访问
|
|
|
|
|
|
if (req.yoho.isApp) {
|
|
|
if(uid) {
|
|
|
if (isApp) {
|
|
|
uid = crypto.encryption('', req.query.uid + '');
|
|
|
} else {
|
|
|
uid = req.user.uid;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
console.log(uid)
|
|
|
|
|
|
if (clientType.toLowerCase() === 'ios' && version) {
|
|
|
clientType = 'iphone';
|
...
|
...
|
|