|
@@ -256,6 +256,14 @@ const getRelatedEditorial = (brandId, uid, udid, clientType, isApp) => { |
|
@@ -256,6 +256,14 @@ const getRelatedEditorial = (brandId, uid, udid, clientType, isApp) => { |
256
|
});
|
256
|
});
|
257
|
};
|
257
|
};
|
258
|
|
258
|
|
|
|
259
|
+const privateKeyList = {
|
|
|
260
|
+ android: 'fd4ad5fcfa0de589ef238c0e7331b585',
|
|
|
261
|
+ iphone: 'a85bb0674e08986c6b115d5e3a4884fa',
|
|
|
262
|
+ ipad: 'ad9fcda2e679cf9229e37feae2cdcf80',
|
|
|
263
|
+ web: '0ed29744ed318fd28d2c07985d3ba633',
|
|
|
264
|
+ h5: 'fd4ad5fcfa0de589ef238c0e7331b585'
|
|
|
265
|
+};
|
|
|
266
|
+
|
259
|
// 是否收藏
|
267
|
// 是否收藏
|
260
|
const isCollection = (uid, brandId, clientType) => {
|
268
|
const isCollection = (uid, brandId, clientType) => {
|
261
|
return serviceAPI.get('shops/service/v1/favorite/getUidBrandFav', {
|
269
|
return serviceAPI.get('shops/service/v1/favorite/getUidBrandFav', {
|
|
@@ -264,7 +272,6 @@ const isCollection = (uid, brandId, clientType) => { |
|
@@ -264,7 +272,6 @@ const isCollection = (uid, brandId, clientType) => { |
264
|
client_type: clientType,
|
272
|
client_type: clientType,
|
265
|
private_key: privateKeyList[clientType]
|
273
|
private_key: privateKeyList[clientType]
|
266
|
}).then((result) => {
|
274
|
}).then((result) => {
|
267
|
-
|
|
|
268
|
if (result && result.code === 200) {
|
275
|
if (result && result.code === 200) {
|
269
|
|
276
|
|
270
|
let isLike = true;
|
277
|
let isLike = true;
|
|
@@ -319,6 +326,7 @@ const getDetailData = (id, uid, udid, gender, isApp, clientType) => { |
|
@@ -319,6 +326,7 @@ const getDetailData = (id, uid, udid, gender, isApp, clientType) => { |
319
|
shareTitle: list.brandName,
|
326
|
shareTitle: list.brandName,
|
320
|
shareImg: list.brandIco,
|
327
|
shareImg: list.brandIco,
|
321
|
shareDesc: htmlProcess.removeHtml(list.brandIntro)
|
328
|
shareDesc: htmlProcess.removeHtml(list.brandIntro)
|
|
|
329
|
+
|
322
|
});
|
330
|
});
|
323
|
|
331
|
|
324
|
return list;
|
332
|
return list;
|