Authored by 郭成尧

new-product

@@ -72,23 +72,6 @@ const _newGoods = (req, res, next) => { @@ -72,23 +72,6 @@ const _newGoods = (req, res, next) => {
72 let banner = _.get(result, 'ads[0]', {}); 72 let banner = _.get(result, 'ads[0]', {});
73 let handPick = _.get(result, 'ads[1]', {}); 73 let handPick = _.get(result, 'ads[1]', {});
74 74
75 - console.log(handPick);  
76 -  
77 - // handPick.data = [  
78 - // // {  
79 - // // src: 'http://img10.static.yhbimg.com/yhb-img01/2017/01/09/13/01da40539b33823497bde77bcfdb6d94b5.jpg?imageView2/{mode}/w/{width}/h/{height}',  
80 - // // alt: '',  
81 - // // title: '',  
82 - // // url: 'https://m.yohobuy.com/product/new'  
83 - // // },  
84 - // {  
85 - // src: 'http://img10.static.yhbimg.com/yhb-img01/2017/01/13/14/012d3366259d5afe4c4d4bf6d5a23278f7.jpg?imageView2/{mode}/w/{width}/h/{height}',  
86 - // alt: '',  
87 - // title: '',  
88 - // url: 'http://www.yohobuy.com'  
89 - // }  
90 - // ];  
91 -  
92 if (handPick.data) { 75 if (handPick.data) {
93 if (handPick.data.length > 2) { 76 if (handPick.data.length > 2) {
94 handPick.three = true; 77 handPick.three = true;