sale.js 474 Bytes
/**
 * 频道页面 model
 * @author: wsl<shuiling.wang@yoho.cn>
 * @date: 2016/05/17
 */
'use strict';
const library = '../../../library';
const API = require(`${library}/api`).API;
const sign = require(`${library}/sign`);
const api = new API();

/**
 * 获取首页数据
 * @param  {[object]} params
 * @return {[object]}
 */
exports.getSaleDate = (params) => {

    return api.get('', sign.apiSign(Object.assign({
        method: 'app.activity.get'
    }, params)));
};