const path = require('path');
const config = {
    //OPPO定制项目
    //localhost
    '/projectx/collectCard/index.do':{
        data: './json/index.json'
    },
    '/projectx/collectCard/join.do':{
        data: './json/join.json'
    },
    '/projectx/receive/join.do':{
        data: './json/receive.json'
    },
    '/projectx/invite/genInvite.do':{
        data: './json/genInvite.json'
    },
    '/projectx/invite/accept.do':{
        data: './json/accept.json'
    },
    '/projectx/invite/complete.do':{
        data: './json/complete.json'
    },
    '/projectx/receive/getQrCode.do':{
        data: './json/getQrCodeUrl.json'
    },
    '/projectx/receive/checkEggCard.do':{
        data: './json/checkEggCard.json'
    },
    '/projectx/invite/queryTaskList.do':{
        data: './json/queryTaskList.json'
    },
    '/customActivity/oppoNewYear/subscibeNotice':{
        data: './json/subscibeNotice.json'
    },
    '/customActivity/oppoNewYear/saveOpenId':{
        data: './json/saveOpenId.json'
    },
    '/projectx/join_3/receivePrize.do':{
        data: './json/receivePrize.json'
    },
    '/wechatShare/getShareInfo/v2':{
        data: './json/getShareInfo.json'
    },
    '/customActivity/oppoNewYear/subscibe':{
        data: './json/getSubscibeState.json'
    },
    '/projectx/records.query':{
        data: './json/getRecords.json'
    },
    '/aaw/projectx/getOrderStatus':{
        data: './json/getOrderStatus.json'
    },
    '/customActivity/qrcode/getQrcode':{
        data: './json/getQrcode.json'
    },
    '/projectx/invite/acceptPopup.do':{
        data: './json/acceptPopup.json'
    },
    '/projectx/collectCard/provinceList.do':{
        data: './json/getProvince.json'
    },
    '/projectx/collectCard/cityList.do':{
        data: './json/getCity.json'
    },
    '/projectx/collectCard/shopList.do':{
        data: './json/getAddress.json'
    }
}

for (let item in config) {
    if (config.hasOwnProperty(item))
        config[item].path = path.resolve(__dirname, config[item].data);
}
module.exports = config;