index.js
713 Bytes
/**
* girls model
* @author: 赵彪<bill.zhao@yoho.cn>
* @date: 2016/05/17
*/
'use strict';
// const _ = require('lodash');
const ServiceAPI = require(`${global.library}/api`).ServiceAPI;
const sign = require(`${global.library}/sign`);
const serviceApi = new ServiceAPI();
/**
* 获取公共配置
* @param undefined
* @return {Object} 配置对象
*/
// const commonConfig = () => ({
// title: 'girls'
// });
exports.getContent = () => {
let data = sign.apiSign({
/* eslint-disable */
client_type: 'web'
/* eslint-enable */
});
serviceApi.get('/operations/api/v5/resource/home', data).then(response => {
console.log(response);
});
};