Authored by baoss

update version review by guoshuai

... ... @@ -591,8 +591,15 @@ module.exports = class extends global.yoho.BaseModel {
return this._getGirlsSingleHot(args, type);
}
}
/**
* 组装最新上架楼层数据
*
* @param string data
* return obj
*/
_getGoodsFloorData(args) {
console.log(args);
// console.log(args);
let name = args[0].data.text;
let floorKey = this.getGoodsFloor[name];
... ... @@ -612,28 +619,6 @@ module.exports = class extends global.yoho.BaseModel {
}
/**
* 组装最新上架楼层数据
*
* @param string data
* return obj
*/
_getNewGoodsFloorData(args) {
console.log(args);
const data = {};
if (!_.isEmpty(args)) {
data.newArrivls = {
floorId: args[0].template_id,
name: _.replace(args[0].data.text, '最新', '新品'),
navs: []
};
data.newArrivls.navs = args[1] ? args[1].data : {};
}
return data;
}
/**
* 文本标题
* @param {[Object]} args 参数列表
* @param {String} type 频道类型
... ... @@ -1268,9 +1253,10 @@ module.exports = class extends global.yoho.BaseModel {
let tarKey = Object.keys(elem)[0];
if (keyArr.includes(tarKey)) {
console.log(tarKey);
// console.log(tarKey);
elem[tarKey].goods = res[2];
console.log(elem[tarKey]);
// console.log(elem[tarKey]);
}
return elem;
});
... ...
{
"name": "yohobuy-node",
"version": "6.9.20",
"version": "6.10.0",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...