...
|
...
|
@@ -102,7 +102,7 @@ const _getRelatedData = (idList) => { |
|
|
let goods = [];
|
|
|
|
|
|
if (result && result.code === 200) {
|
|
|
console.log(result)
|
|
|
console.log(result);
|
|
|
|
|
|
goods = productProcess.processProductList(result.data.product_list);
|
|
|
|
...
|
...
|
@@ -243,7 +243,7 @@ exports.index = (req, res, next) => { |
|
|
|
|
|
if (studentGoods && studentGoods.data) {
|
|
|
_.forEach(studentGoods.data, function(obj) {
|
|
|
idList.push(obj.id);
|
|
|
idList.push(obj.id);
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
@@ -310,7 +310,7 @@ exports.index = (req, res, next) => { |
|
|
// console.log(options);
|
|
|
res.render('student-market', options);
|
|
|
|
|
|
})
|
|
|
});
|
|
|
|
|
|
// return userAcquireStatus(uid, couponids.join(',')).then((cous) => {
|
|
|
// coupons.data = _.get(coupons, 'data', []).map((item)=>{
|
...
|
...
|
@@ -384,7 +384,7 @@ exports.index = (req, res, next) => { |
|
|
// // console.log(options);
|
|
|
// res.render('student-market', options);
|
|
|
// });
|
|
|
})
|
|
|
});
|
|
|
|
|
|
// Promise.all([getResource(code), vip()]).then(datas => {
|
|
|
// let coupons,
|
...
|
...
|
|