Authored by zhangxiaoru

plustar

... ... @@ -47,6 +47,7 @@ const getDetailData = (req, res, next) => {
let gender = req.query.gender || req.cookies._Channel && channels[req.cookies._Channel] || '1,3';
let isApp = req.query.app_version || req.query.appVersion || false;
let clientType = req.body.client_type || '';
let version = req.body.app_version || '';
if (clientType.toLowerCase() === 'ios' && version) {
clientType = 'iphone';
... ...
... ... @@ -81,7 +81,7 @@ const getRelatedEditorial = () => {
};
//是否收藏
// 是否收藏
const isCollection = (uid, brandId, clientType) => {
return serviceAPI.get('shops/service/v1/favorite/getUidBrandFav', {
uid: uid,
... ... @@ -97,12 +97,6 @@ const isCollection = (uid, brandId, clientType) => {
let isLike = false;
return isLike;
}
if (isset($getUidBrandFav['code']) && $getUidBrandFav['code'] == 200) {
$cached['getUidBrandFav'] = true;
} else {
$getUidBrandFavResult = false;
}
});
};
... ...