...
|
...
|
@@ -3,7 +3,6 @@ const api = global.yoho.API; |
|
|
const serviceAPI = global.yoho.ServiceAPI;
|
|
|
const _ = require('lodash');
|
|
|
const logger = global.yoho.logger;
|
|
|
const camelCase = global.yoho.camelCase;
|
|
|
const helpers = global.yoho.helpers;
|
|
|
|
|
|
const formaData = (data, gender) => {
|
...
|
...
|
@@ -235,13 +234,12 @@ const getDetailData = (id, uid, udid, gender, isApp, clientType) => { |
|
|
if (result && result.code === 200) {
|
|
|
|
|
|
let list = result.data || [];
|
|
|
|
|
|
list = camelCase(list);
|
|
|
|
|
|
let url;
|
|
|
|
|
|
let brandId = list.brandId;
|
|
|
let brandDomain = list.brandDomain;
|
|
|
let isDifferent = list.isDifferent;
|
|
|
let brandId = list.brand_id;
|
|
|
let brandDomain = list.brand_domain;
|
|
|
let isDifferent = list.is_different;
|
|
|
|
|
|
if (isApp) {
|
|
|
url = '?openby:yohobuy={"action":"go.brand","params":{"brand_id":"' + brandId + '","is_different":"' + isDifferent + '"}}';
|
...
|
...
|
|