Authored by htoooth

refactor

... ... @@ -32,7 +32,7 @@ const BLANK_STR = ' ';
const cachedRequestData = {};
const getProductAdditionInfoByProductBaseInfoAsync = (data) => {
const getProductAdditionInfoAsync = (data) => {
return co(function * () {
let productId = data.id;
let uid = data.uid ? data.uid : 0;
... ... @@ -562,7 +562,7 @@ const detailDataPkg = (origin, uid, vipLevel) => {
}
let requestData = yield Promise.all([
getProductAdditionInfoByProductBaseInfoAsync(origin), // 接口处理数据,设置并发请求数据
getProductAdditionInfoAsync(origin), // 接口处理数据,设置并发请求数据
getProductFavoriteDataAsync(uid, result.productId, brandId) // 处理收藏喜欢数据
]);
... ...