...
|
...
|
@@ -405,7 +405,7 @@ const favoriteBrand = (req, res, next) => { |
|
|
|
|
|
if (appVersion && appVersion !== 'false') {
|
|
|
uid = req.query.uid ? crypto.decrypt('', req.query.uid) : req.cookies.appUid;
|
|
|
uid = _.trim(uid);
|
|
|
uid = parseInt(uid, 10);
|
|
|
|
|
|
if (!uid || uid === 'undefined') {
|
|
|
uid = _getUidFromUserAgent(req);
|
...
|
...
|
|