...
|
...
|
@@ -32,19 +32,18 @@ const _getRelatedData = (idList) => { |
|
|
method: 'h5.product.batch'
|
|
|
}).then((result) => {
|
|
|
|
|
|
let goods = [],
|
|
|
productList = [];
|
|
|
let goods = [];
|
|
|
|
|
|
if (result && result.data && result.data.product_list && result.code === 200) {
|
|
|
|
|
|
_.forEach(result.data.product_list, function(val) {
|
|
|
|
|
|
if (val.student_price) {
|
|
|
productList.push(val);
|
|
|
if (!val.student_price) {
|
|
|
val.student_price = val.vip2_price;
|
|
|
}
|
|
|
});
|
|
|
|
|
|
goods = productProcess.processProductList(productList);
|
|
|
goods = productProcess.processProductList(result.data.product_list);
|
|
|
|
|
|
return goods;
|
|
|
} else {
|
...
|
...
|
|