index.js 1.98 KB
const config = {
    development: {
        axiosBaseUrl: process.env.VUE_ENV === 'server' ? 'http://localhost:6004/' : '//m.yohoblk.com/',
        axiosResponseType: 'json',
        contentCode: {
            channel: {
                men: '9ee58aadd9559d07207fe4a98843eaac',
                women: '3ad8826fc89fb0d023a4cd06a6991219',
                lifestyle: 'aa8d34c85934c2ccc16e2babd3eb5e47'
            },
            brand: { // 品牌一览资源位
                men: '785901da092704815085a6009265879c',
                women: '22cfcd9246ece6a0a5a18c6463ef3259',
                lifestyle: 'f2e7142be1d5d622357c44a572390531'
            },
            cate: { // 分类资源位
                men: '7e32495635ded5b906c952e2cb9e897d',
                women: '086e409fdab8448f7a0a794491f4d1b7',
                lifestyle: '6f7b590ed3844e680d4052fc5c4d98ad'
            },
            editorial: {
                all: '87e3b7ff41132fde5e061fb1c3899f84'
            }
        }
    },
    production: {
        axiosBaseUrl: process.env.VUE_ENV === 'server' ? 'http://localhost:6004/' : '//m.yohoblk.com/',
        axiosResponseType: 'json',
        contentCode: {
            channel: {
                men: '9ee58aadd9559d07207fe4a98843eaac',
                women: '3ad8826fc89fb0d023a4cd06a6991219',
                lifestyle: 'aa8d34c85934c2ccc16e2babd3eb5e47'
            },
            brand: { // 品牌一览资源位
                men: '785901da092704815085a6009265879c',
                women: '22cfcd9246ece6a0a5a18c6463ef3259',
                lifestyle: 'f2e7142be1d5d622357c44a572390531'
            },
            cate: { // 分类资源位
                men: '7e32495635ded5b906c952e2cb9e897d',
                women: '086e409fdab8448f7a0a794491f4d1b7',
                lifestyle: '6f7b590ed3844e680d4052fc5c4d98ad'
            },
            editorial: {
                all: '87e3b7ff41132fde5e061fb1c3899f84'
            }
        }
    }
};



export default config[process.env.NODE_ENV];