Authored by 郭成尧

change-api

... ... @@ -320,7 +320,7 @@ module.exports = class extends global.yoho.BaseModel {
*/
getCategoryGoods(params) {
let requestData = {
method: 'app.search.category'
method: 'web.search.search'
};
_.assign(requestData, searchProcess.getSearchParamsWithoutMethod(params));
... ...
... ... @@ -155,7 +155,7 @@ const getSearchParamsWithoutMethod = (params) => {
}
if (params.categoryId) {
finalParams.categoryId = params.categoryId;
finalParams.categoryId = finalParams.category_id = params.categoryId;
}
if (params.subCategoryId) {
... ...