constant.js 289 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 'use strict'; /** * 获取 频道值 */ const channelMap = { men: '1,3', women: '2,3', lifestyle: '4', }; exports.genderMap = { men: '1', women: '2' }; exports.channelDict = (channelName) => { let val = channelMap[channelName]; return val ? val : ''; };