type-lib.js 474 Bytes
/**
 * 类型映射配置
 * @author: chenfeng<feng.chen@yoho.cn>
 * @date: 2017/02/20
 */

'use strict';

const channels = {
    boys: 1,
    girl: 2,
    girls: 2,
    kids: 3,
    lifestyle: 4
};

const channelNames = {
    [1]: 'boys',
    [2]: 'girls',
    [3]: 'kids',
    [4]: 'lifestyle'
};

const gender = {
    boys: '1,3',
    girl: '2,3',
    girls: '2,3',
    kids: '3,3',
    lifestyle: '4'
};

module.exports = {
    channels,
    channelNames,
    gender
};