Showing
2 changed files
with
2 additions
and
2 deletions
@@ -51,7 +51,7 @@ const Query = { | @@ -51,7 +51,7 @@ const Query = { | ||
51 | queryParams: q | 51 | queryParams: q |
52 | }; | 52 | }; |
53 | res.display('list', _.assign(retData, { | 53 | res.display('list', _.assign(retData, { |
54 | - products: data.productList, | 54 | + products: DataHelper.handleProductList(data.productList), |
55 | order: q.order | 55 | order: q.order |
56 | })); | 56 | })); |
57 | } else { | 57 | } else { |
@@ -95,7 +95,7 @@ const shop = { | @@ -95,7 +95,7 @@ const shop = { | ||
95 | }; | 95 | }; |
96 | 96 | ||
97 | res.display('shop-list', _.assign(data, { | 97 | res.display('shop-list', _.assign(data, { |
98 | - products: ret.productList, | 98 | + products: DataHelper.handleProductList(data.productList), |
99 | order: q.order | 99 | order: q.order |
100 | })); | 100 | })); |
101 | } else { | 101 | } else { |
-
Please register or login to post a comment