const path = require('path');
const config = {
    '/crecord/getrecord': {
        data: './esports/getrecord.json'
    },
    '/projectx/p32804e45/join_1/join.do': {
        data: './esports/index.json'
    },
    '/customActivity/esports/recentlyGetJoinTimes': {
        data: './esports/recentlyGetJoinTimes.json'
    },
    '/customActivity/esports/getInviteRecords': {
        data: './esports/getInviteRecords.json'
    },
    '/hdtool/esports/wordcollect/dojoin': {
        data: './esports/dojoin.json'
    },
    '/hdtool/esports/wordcollect/receivingGifts': {
        data: './esports/receivingGifts.json'
    },
    '/hdtool/esports/wordcollect/baseInfo': {
        data: './esports/baseInfo.json'
    },
    '/aaw/music/category': {
        data: './aaw/music/category.json'
    },
    '/aaw/music/item': {
        data: './aaw/music/item.json'
    },
    '/aaw/music/report': {
        data: './aaw/music/report.json'
    },

    '/hdtool/rank/recentRankListNew': {
        data: './json/recentRankListNew.json'
    },
    '/activityCommon/getRole': {
        data: './json/getRole.json'
    },
    '/ngapi/getUserTotalScore': {
        data: './json/getUserTotalScore.json'
    },
    '/ctool/getCredits': {
        data: './json/getCredits.json'
    },
    '/activityPlugDrawInfo/doJoinPlugdraw': {
        data: './json/doJoinPlugdraw.json'
    },
    '/plugin/getOrderStatus': {
        data: './json/getPlugOrderStatus.json'
    },
    '/plugin/getOrderStatus1': {
        data: './json/getPlugOrderStatus1.json'
    },
    '/collectRule/getOrderStatus': {
        data: './json/getPlugOrderStatus.json'
    },

    '/activityPlugDrawInfo/getPrizeInfo': {
        data: './json/getPlugDrawPrizeInfo.json'
    },

    // 活动工具新游戏
    '/hdtool/rank/rankList': {
        data: './json/rankList.json'
    },
    '/hdtool/recon/ajaxElement': {
        data: './json/ajaxElement.json'
    },
    '/hdtool/recon/doJoin': {
        data: './json/doJoin.json'
    },
    '/hdtool/recon/getOrderStatus': {
        data: './json/getOrderStatus.json'
    },
    '/hdtool/recon/ngame/getNgameStartStatus': {
        data: './json/getNgameStartStatus.json'
    },
    '/hdtool/recon/ngame/ngameSubmit': {
        data: './json/ngameSubmit.json'
    },
    '/hdtool/recon/ngame/datapash': {
        data: './json/datapash.json'
    },
    '/hdtool/recon/ngame/resurrection': {
        data: './json/resurrection.json'
    },
    '/hdtool/recon/ngame/resurrectionStatus': {
        data: './json/resurrectionStatus.json'
    }

}

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