const path = require('path');
const config = {

    '/customActivity/atour/combatQuestionList': {
        data: './json/atour_combatQuestionList.json'
    },
    
    '/customActivity/atour/checkOption': {
        data: './json/atour_checkOption.json'
    },
    '/customActivity/atour/combat/getQuestionList': {
        data: './json/atour_getQuestionList.json'
    },
    '/customActivity/atour/initiateQuestionList': {
        data: './json/atour_initiateQuestionList.json'
    },
    '/customActivity/atour/getBattleRecordInfo': {
        data: './json/atour_getBattleRecordinfo.json'
    },
    '/customActivity/atour/getBattleRecordList': {
        data: './json/atour_getBattleRecordList.json'
    },
    '/customActivity/atour/doJoin': {
        data: './json/atour_dojoin.json'
    },
    '/activityCommon/getRole': {
        data: './json/getRole.json'
    },
    '/ngapi/getUserTotalScore': {
        data: './json/getUserTotalScore.json'
    },
    '/ctool/getCredits': {
        data: './json/getCredits.json'
    },
    '/ngame/new/getInfo': {
        data: './json/getInfo.json'
    },
    '/ngapi/dostart': {
        data: './json/dostart.json'
    },
    '/ngapi/getStartStatus': {
        data: './json/getStartStatus.json'
    },
    '/ngame/new/submit': {
        data: './json/gameSubmit.json'
    },
    '/ngame/new/getSubmitResult': {
        data: './json/getGameSubmitResult.json'
    },
    '/ngapi/winranks': {
        data: './json/winranks.json'
    },
    '/ngapi/getOptions': {
        data: './json/getOptions.json'
    },
    '/ngapi/getRule': {
        data: './json/getRule.json'
    },
    '/activityVist/addTimesForActivity': {
        data: './json/addTimesForActivity.json'
    },
    '/plugin/collectRule/getCollectGoodsInfo': {
        data: './json/getCollectGoodsInfo.json'
    },
    '/ngapi/realtimerank/0': {
        data: './json/realtimerank.json'
    },
    '/ngapi/realtimerank/1': {
        data: './json/realtimerank2.json'
    },
    '/activityPlugDrawInfo/doJoinPlugdraw': {
        data: './json/doJoinPlugdraw.json'
    },
    '/plugin/getOrderStatus': {
        data: './json/getPlugOrderStatus.json'
    },
    '/collectRule/getOrderStatus': {
        data: './json/getPlugOrderStatus.json'
    },
    '/activityCommon/setRole': {
        data: './json/setRole.json'
    },
    '/hdtool/ajaxElement': {
        data: './json/ajaxElement.freeEmpty.json'
    },
    '/hdtool/recon/ajaxElement': {
        data: './json/reconAjaxElement.freeEmpty.json'
    },
    '/hdtool/recon/ngame/getNgameStartStatus': {
        data: './json/hdgameGetStartStatus.json'
    },
    '/hdtool/recon/getGameOrderInfo': {
        data: './json/getGameOrderInfo.json'
    },
    '/hdtool/recon/getGameSubmit': {
        data: './json/getGameSubmit.json'
    },
    '/hdtool/recon/ngame/resurrectionStatus': {
        data: './json/resurrectionStatus.json'
    },
    '/hdtool/recon/ngame/resurrection': {
        data: './json/resurrection.json'
    },
    '/hdtool/recon/ngame/ngameManySubmit': {
        data: './json/ngameManySubmit.json'
    },
    '/hdtool/caijing/recon/checkOutAnswer': {
        data: './json/checkOutAnswer.json'
    },
    '/hdtool/caijing/recon/questionSubmit': {
        data: './json/questionSubmit.json'
    },
    '/hdtool/ajaxThroughInfo': {
        data: './json/ajaxThroughInfo.json'
    },
    '/hdtool/recon/doJoin': {
        data: './json/doJoin.json'
    },
    '/hdtool/recon/getOrderStatus': {
        data: './json/reconGetCustomOrderStatus.json'
    },
    '/hdtool/getOrderInfo': {
        data: './json/getOrderInfo.json'
    },
    '/hdtool/ngame/submit': {
        data: './json/customSubmit.json'
    },
    '/ngapi/guessPoker': {
        data: './json/guessPoker.json'
    },
    '/activityPlugin/optionInfo': {
        data: './json/optionInfo.json'
    },
    '/activityPlugin/unblocking': {
        data: './json/unblocking.json'
    },
    '/ngame/new/datapash': {
        data: './json/datapash.json'
    },
    '/summer/doRevive': {
        data: './json/doRevive.json'
    },
    '/summer/getReviveCardNum': {
        data: './json/getReviveCardNum.json'
    },
    '/summer/getUserActivityInfo': {
        data: './json/getSummerInfo.json'
    },
    '/summer/buyProp': {
        data: './json/buySummerProp.json'
    },
    '/summer/getToyInfo': {
        data: './json/getSummerToyInfo.json'
    },
    '/summer/getOrderStatus': {
        data: './json/getSummerOrderStatus.json'
    }
}

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