const path = require('path');
const config = {
    '/chw/visual-editor/user/information': {
        data: './esports/credits.json'
    },
    '/projectx/p32804e45/credits/queryStatus.do': {
        data: './esports/queryStatus.json'
    },
    '/projectx/p32804e45/projectRule.query': {
        data: './esports/projectRule.json'
    },
    '/projectx/p32804e45/assist_1/index.do': {
        data: './esports/index.json'
    },
    '/projectx/p32804e45/credits/creditsCost.do': {
        data: './esports/creditsCost.json'
    },
    '/projectx/p32804e45/assist_1/dreamDetail.do': {
        data: './esports/join1dreamDetail.json'
    },
    '/projectx/p32804e45/join_1/dreamRankList.do': {
        data: './esports/join1dreamRankList.json'
    },
    '/projectx/p32804e45/join_1/reviewDreamList.do': {
        data: './esports/join1reviewDreamList.json'
    },
    '/projectx/p32804e45/assist_1/reviewDream.do': {
        data: './esports/assist1reviewDream.json'
    },
    '/projectx/p32804e45/assist_1/myAssistDreamList.do': {
        data: './esports/assist1myAssistDreamList.json'
    },
    '/projectx/p32804e45/assist_1/doAssist.do': {
        data: './esports/assist1rdoAssist.json'
    },

    '/crecord/getrecord': {
        data: './esports/getrecord.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;