...
|
...
|
@@ -32,7 +32,7 @@ exports.index = (req, res, next) => { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
search.getSearchData(params, req.yoho.channel).then(result => {
|
|
|
return search.getSearchData(params, req.yoho.channel).then(result => {
|
|
|
Object.assign(resData, result);
|
|
|
|
|
|
if (!_.get(resData, 'search.goods') || !_.get(resData, 'search.goods').length) {
|
...
|
...
|
|