Authored by 郭成尧

底部页码待处理

@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 * @Author: Targaryen 2 * @Author: Targaryen
3 * @Date: 2016-05-30 16:20:03 3 * @Date: 2016-05-30 16:20:03
4 * @Last Modified by: Targaryen 4 * @Last Modified by: Targaryen
5 - * @Last Modified time: 2016-06-02 14:26:27 5 + * @Last Modified time: 2016-06-03 16:04:18
6 */ 6 */
7 7
8 'use strict'; 8 'use strict';
@@ -16,6 +16,7 @@ const outletsProcess = require('./outlets-handler'); @@ -16,6 +16,7 @@ const outletsProcess = require('./outlets-handler');
16 const outletsApi = require('./outlets-api'); 16 const outletsApi = require('./outlets-api');
17 const productProcess = require(`${utils}/product-process`); 17 const productProcess = require(`${utils}/product-process`);
18 const headerModel = require('../../../doraemon/models/header'); 18 const headerModel = require('../../../doraemon/models/header');
  19 +// const publicHandler = require('./public-handler');
19 20
20 // 奥莱频道资源码 21 // 奥莱频道资源码
21 const channelCode = { 22 const channelCode = {
@@ -67,6 +68,8 @@ exports.getOutletsIndexData = (params) => { @@ -67,6 +68,8 @@ exports.getOutletsIndexData = (params) => {
67 // 处理底部商品数据 68 // 处理底部商品数据
68 if (result[5].code === 200) { 69 if (result[5].code === 200) {
69 finalResult.goodsBoard.list = productProcess.processProductList(result[5].data.product_list); 70 finalResult.goodsBoard.list = productProcess.processProductList(result[5].data.product_list);
  71 +
  72 + // finalResult.pager = publicHandler.handleSalePagerData(result[0].data.total, params);
70 } 73 }
71 74
72 return finalResult; 75 return finalResult;