...
|
...
|
@@ -29,8 +29,7 @@ const list = (req, res, next) => { |
|
|
params.shopId = params.shop_id;
|
|
|
}
|
|
|
|
|
|
if (params.query) {
|
|
|
return searchModel.searchKeyActivity(params.query).then(activityResult => {
|
|
|
return searchModel.searchKeyActivity(params.query || '').then(activityResult => {
|
|
|
let activity = _.get(activityResult, 'urlobj.appUrl', '');
|
|
|
|
|
|
if (activity) {
|
...
|
...
|
@@ -127,7 +126,6 @@ const list = (req, res, next) => { |
|
|
}).catch(next);
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
};
|
|
|
|
|
|
/**
|
...
|
...
|
|