...
|
...
|
@@ -6,8 +6,6 @@ const logger = global.yoho.logger; |
|
|
const camelCase = global.yoho.camelCase;
|
|
|
const helpers = global.yoho.helpers;
|
|
|
const htmlProcess = require(`${global.utils}/html-process`);
|
|
|
const productProcess = require('../../../utils/product-process');
|
|
|
const helpers = global.yoho.helpers;
|
|
|
|
|
|
const privateKeyList = {
|
|
|
android: 'fd4ad5fcfa0de589ef238c0e7331b585',
|
...
|
...
|
@@ -158,10 +156,10 @@ const getNewProduct = (brandId, gender, url, isApp) => { |
|
|
let productUrl = '//m.yohobuy.com/product/pro_' + list.product_id + '_' +
|
|
|
list.goods_list[0].goods_id + '/' + list.cn_alphabet + '.html';
|
|
|
|
|
|
if(isApp) {
|
|
|
console.log(productUrl)
|
|
|
productUrl += `?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${list.product_skn}"}}`;
|
|
|
}
|
|
|
if (isApp) {
|
|
|
console.log(productUrl);
|
|
|
productUrl += `?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${list.product_skn}"}}`;
|
|
|
}
|
|
|
|
|
|
obj = _.assign(obj, {
|
|
|
id: list.product_skn,
|
...
|
...
|
@@ -187,7 +185,7 @@ const getNewProduct = (brandId, gender, url, isApp) => { |
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
return newArrival;
|
...
|
...
|
|