Showing
2 changed files
with
2 additions
and
2 deletions
@@ -320,7 +320,7 @@ module.exports = class extends global.yoho.BaseModel { | @@ -320,7 +320,7 @@ module.exports = class extends global.yoho.BaseModel { | ||
320 | */ | 320 | */ |
321 | getCategoryGoods(params) { | 321 | getCategoryGoods(params) { |
322 | let requestData = { | 322 | let requestData = { |
323 | - method: 'app.search.category' | 323 | + method: 'web.search.search' |
324 | }; | 324 | }; |
325 | 325 | ||
326 | _.assign(requestData, searchProcess.getSearchParamsWithoutMethod(params)); | 326 | _.assign(requestData, searchProcess.getSearchParamsWithoutMethod(params)); |
@@ -155,7 +155,7 @@ const getSearchParamsWithoutMethod = (params) => { | @@ -155,7 +155,7 @@ const getSearchParamsWithoutMethod = (params) => { | ||
155 | } | 155 | } |
156 | 156 | ||
157 | if (params.categoryId) { | 157 | if (params.categoryId) { |
158 | - finalParams.categoryId = params.categoryId; | 158 | + finalParams.categoryId = finalParams.category_id = params.categoryId; |
159 | } | 159 | } |
160 | 160 | ||
161 | if (params.subCategoryId) { | 161 | if (params.subCategoryId) { |
-
Please register or login to post a comment