• This project
    • Loading...
  • Sign in

fe / yohobuy-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 1
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuy-node
  • apps
  • product
  • models
  • detail-hotarea-api.js
  • refactor
    0e92b609
    by htoooth
    2016-06-27 17:51:21 +0800  
    Browse Directory »
detail-hotarea-api.js 297 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/**
 * Created by TaoHuang on 2016/6/13.
 */

'use strict';

const api = global.yoho.API;

/**
 * 获取商品的热区
 */
const indexAsync = pid => {
    return api.get('', {
        method: 'web.productCollocation.list',
        product_id: pid
    });
};

module.exports = {
    indexAsync
};