...
|
...
|
@@ -147,7 +147,7 @@ const searchHistory = (req, res) => { |
|
|
* 搜索少或无 有可能喜欢
|
|
|
**/
|
|
|
const searchLessRecommend = (req, res, next) => {
|
|
|
let channel = req.yoho.channel;
|
|
|
let channelNum = req.yoho.channelNum;
|
|
|
let uid = req.user.uid;
|
|
|
let udid = req.yoho.udid;
|
|
|
let page = Number(req.query.page || 1);
|
...
|
...
|
@@ -156,7 +156,7 @@ const searchLessRecommend = (req, res, next) => { |
|
|
page = 1;
|
|
|
}
|
|
|
|
|
|
search.getSearchLessProduct(channel, uid, udid, page).then(result => {
|
|
|
search.getSearchLessProduct(channelNum, uid, udid, page).then(result => {
|
|
|
return res.send(result);
|
|
|
}).catch(next);
|
|
|
|
...
|
...
|
|