Authored by zhangxiaoru

search 品牌判断

... ... @@ -43,8 +43,10 @@ const _processBrandNames = (list) => {
brandName: obj.brandDomain && obj.brandName.toLowerCase()
});
brandDomainMap[obj.brandDomain.toLowerCase()] = obj.brandDomain.toLowerCase();
brandNameMap[obj.brandName.toLowerCase()] = obj.brandDomain.toLowerCase();
if (obj.brandDomain) {
brandDomainMap[obj.brandDomain.toLowerCase()] = obj.brandDomain.toLowerCase();
brandNameMap[obj.brandName.toLowerCase()] = obj.brandDomain.toLowerCase();
}
});
});
... ...
... ... @@ -16,15 +16,15 @@ module.exports = {
siteUrl: '//m.yohobuy.com',
assetUrl: '//localhost:5001',
domains: {
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/',
liveApi: 'http://api.live.yoho.cn/',
singleApi: 'http://single.yoho.cn/'
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// liveApi: 'http://api.live.yoho.cn/',
// singleApi: 'http://single.yoho.cn/'
// api: 'http://api-test3.yohops.com:9999/',
// service: 'http://service-test3.yohops.com:9999/',
// liveApi: 'http://testapi.live.yohops.com:9999/',
// singleApi: 'http://api-test3.yohops.com:9999/'
api: 'http://api-test3.yohops.com:9999/',
service: 'http://service-test3.yohops.com:9999/',
liveApi: 'http://testapi.live.yohops.com:9999/',
singleApi: 'http://api-test3.yohops.com:9999/'
// favApi: 'http://192.168.102.31:8092/brower',
// api: 'http://192.168.102.205:8080/gateway/',
... ...
... ... @@ -121,6 +121,7 @@
text-align: center;
font-size: 18px;
line-height: 32px;
z-index: 1;
}
.no-storage {
... ...