...
|
...
|
@@ -8,6 +8,7 @@ const utils = '../../../utils'; |
|
|
const productProcess = require(`${utils}/product-process`);
|
|
|
const resourcesProcess = require(`${utils}/resources-process`);
|
|
|
const _ = require('lodash');
|
|
|
const helpers = global.yoho.helpers;
|
|
|
const api = global.yoho.API;
|
|
|
const serviceAPI = global.yoho.ServiceAPI;
|
|
|
const logger = global.yoho.logger;
|
...
|
...
|
@@ -270,7 +271,9 @@ const getSearchIntallment = (params) => { |
|
|
let goods = productProcess.processProductList(result.data.product_list);
|
|
|
|
|
|
_.forEach(goods, (data) => {
|
|
|
data.url = data.url + `?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":${data.productSkn}}}`;//eslint-disable-line
|
|
|
data.url = helpers.appUrlFormat(data.url, 'go.productDetail', {
|
|
|
product_skn: data.productSkn
|
|
|
});
|
|
|
});
|
|
|
|
|
|
return goods;
|
...
|
...
|
|