...
|
...
|
@@ -6,7 +6,8 @@ |
|
|
|
|
|
'use strict';
|
|
|
|
|
|
const headerModel = require('../../../doraemon/models/header');
|
|
|
// const headerModel = require('../../../doraemon/models/header');
|
|
|
|
|
|
const specialModel = require('../models/special');
|
|
|
const log = require(`${global.library}/logger`);
|
|
|
const _ = require('lodash');
|
...
|
...
|
@@ -66,25 +67,25 @@ exports.special = (req, res) => { |
|
|
link: 'http://list.yohobuy.com/?gender=2,3&msort=1,3',
|
|
|
name: '服饰',
|
|
|
isHot: false,
|
|
|
isNew: false,
|
|
|
isNew: false
|
|
|
},
|
|
|
{
|
|
|
link: 'http://list.yohobuy.com/?gender=2,3&msort=6',
|
|
|
name: '鞋履',
|
|
|
isHot: false,
|
|
|
isNew: false,
|
|
|
isNew: false
|
|
|
},
|
|
|
{
|
|
|
link: 'http://list.yohobuy.com/?gender=2,3&msort=7',
|
|
|
name: '包袋',
|
|
|
isHot: false,
|
|
|
isNew: false,
|
|
|
isNew: false
|
|
|
},
|
|
|
{
|
|
|
link: 'http://list.yohobuy.com/?gender=2,3&msort=8,10,241',
|
|
|
name: '配饰 · 其他',
|
|
|
isHot: false,
|
|
|
isNew: false,
|
|
|
isNew: false
|
|
|
},
|
|
|
{
|
|
|
link: 'http://guang.yohobuy.com/',
|
...
|
...
|
@@ -96,7 +97,7 @@ exports.special = (req, res) => { |
|
|
link: 'http://list.yohobuy.com/sale?gender=2,3',
|
|
|
name: 'SALE',
|
|
|
isHot: false,
|
|
|
isNew: false
|
|
|
isNew: false
|
|
|
}
|
|
|
]
|
|
|
},
|
...
|
...
|
@@ -106,6 +107,7 @@ exports.special = (req, res) => { |
|
|
};
|
|
|
let saleData = result[0];
|
|
|
let data = {};
|
|
|
|
|
|
// let channel = req.body.channel;
|
|
|
|
|
|
data = _.merge(headerData, saleData);
|
...
|
...
|
|