detail-hotarea-api.js 537 Bytes
/**
 * Created by TaoHuang on 2016/6/13.
 */

const library = '../../../library';
const API = require(`${library}/api`).API;
const sign = require(`${library}/sign`);
const log = require(`${library}/logger`);

const api = new API();

const fake = require('./fake');
/**
 * 获取商品的热区
 */
module.exports.indexAsync = (pid) => {
    //return api.get('', sign.apiSign({
    //    method: 'web.productCollocation.list',
    //    product_id: pid
    //})).catch(log.error);

    return Promise.resolve(fake.fakeProductCollent);
};