...
|
...
|
@@ -10,7 +10,6 @@ const _ = require('lodash'); |
|
|
const dataMap = require('../../../config/data-map');
|
|
|
|
|
|
const helpers = global.yoho.helpers;
|
|
|
const log = global.yoho.logger;
|
|
|
|
|
|
const processProduct = require(`${global.utils}/product-process`).processProduct;
|
|
|
|
...
|
...
|
@@ -537,10 +536,6 @@ const _getAccordionFloorData = args => { |
|
|
return data;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const _requestContent = type => {
|
|
|
let data = {
|
|
|
client_type: 'web',
|
...
|
...
|
@@ -551,14 +546,10 @@ const _requestContent = type => { |
|
|
};
|
|
|
|
|
|
return serviceApi.get('operations/api/v5/resource/home', data, {
|
|
|
cache: true
|
|
|
}).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
return res;
|
|
|
} else {
|
|
|
log.error('response code of "operations/api/v5/resource/home" 200');
|
|
|
return {};
|
|
|
}
|
|
|
cache: true,
|
|
|
code: 200
|
|
|
}).then(result => {
|
|
|
return result;
|
|
|
});
|
|
|
};
|
|
|
|
...
|
...
|
|