From dd19dcd3c1249b622f3138967fdb7d7ebb72e049 Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Thu, 9 May 2019 11:02:51 +0800 Subject: [PATCH] =?UTF-8?q?chore[litemall-wx]:=20=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-wx/pages/search/search.js | 2 +- renard-wx/pages/search/search.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/litemall-wx/pages/search/search.js b/litemall-wx/pages/search/search.js index 22fb863d..5336055c 100644 --- a/litemall-wx/pages/search/search.js +++ b/litemall-wx/pages/search/search.js @@ -104,7 +104,7 @@ Page({ that.setData({ searchStatus: true, categoryFilter: false, - goodsList: res.data.goodsList, + goodsList: res.data.list, filterCategory: res.data.filterCategoryList }); } diff --git a/renard-wx/pages/search/search.js b/renard-wx/pages/search/search.js index 5d099bfe..4bd66498 100644 --- a/renard-wx/pages/search/search.js +++ b/renard-wx/pages/search/search.js @@ -17,7 +17,7 @@ Page({ defaultKeyword: {}, hotKeyword: [], page: 1, - size: 20, + limit: 10, categoryId: 0 }, //事件处理函数 @@ -99,7 +99,7 @@ Page({ util.request(api.GoodsList, { keyword: that.data.keyword, page: that.data.page, - size: that.data.size, + limit: that.data.limit, sort: that.data.currentSort, order: that.data.currentSortOrder, categoryId: that.data.categoryId @@ -108,7 +108,7 @@ Page({ that.setData({ searchStatus: true, categoryFilter: false, - goodsList: res.data.goodsList, + goodsList: res.data.list, filterCategory: res.data.filterCategoryList }); }