Authored by yyq

log error

... ... @@ -902,10 +902,12 @@ exports.handleSeniorFilterData = (data, params) => {
});
_.forEach(data.standard, value => {
let sub = [],
standardName = _.get(value, 'standard_name', '');
if (!value) {
return;
}
// let parKey = `parameter_${value.standard_id}`;
let sub = [],
standardName = value.standard_name;
_.forEach(value.sub, subValue => {
let ched = qStandard[value.standard_id] === parseInt(subValue.standard_id, 10);
... ... @@ -1432,6 +1434,7 @@ exports.getListSeo = (channel, sorts, checked) => {
}
});
checked = checked || [];
_.forEach(checked, ck => {
switch (ck.itemType) {
case 'brand':
... ...
... ... @@ -17,18 +17,18 @@ module.exports = {
cookieDomain: '.yohobuy.com',
domains: {
// test3
singleApi: 'http://api-test3.yohops.com:9999/',
api: 'http://api-test3.yohops.com:9999/',
service: 'http://service-test3.yohops.com:9999/',
serviceNotify: 'http://service-test3.yohops.com:9999/',
global: 'http://global-test-soa.yohops.com:9999/',
// singleApi: 'http://api-test3.yohops.com:9999/',
// api: 'http://api-test3.yohops.com:9999/',
// service: 'http://service-test3.yohops.com:9999/',
// serviceNotify: 'http://service-test3.yohops.com:9999/',
// global: 'http://global-test-soa.yohops.com:9999/',
// prod
// singleApi: 'http://single.yoho.cn/',
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// serviceNotify: 'http://service.yoho.cn/',
// global: 'http://api-global.yohobuy.com/',
singleApi: 'http://single.yoho.cn/',
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/',
serviceNotify: 'http://service.yoho.cn/',
global: 'http://api-global.yohobuy.com/',
// gray
// singleApi: 'http://single.gray.yohops.com/',
... ...