const path = require('path');
const config = {
    '/hdtool/rank/recentRankListNew': {
        data: './newGame/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'
    },
    '/collectRule/getOrderStatus': {
        data: './json/getPlugOrderStatus.json'
    },

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

}

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